BitField<T extends dynamic>.filled constructor Null safety

BitField<T extends dynamic>.filled(
  1. int length,
  2. 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.


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