BitField<T extends dynamic>.filled constructor

BitField<T extends dynamic>.filled(int length, bool value)

Creates a bit field filled with a particular value.

If the value argument is true, the bits are filled with ones. Otherwise, the bits are filled with zeros.

The given length must be at most 62.

Implementation

factory BitField.filled(int length, bool value) = _bitfield.BitField<T>.filled;