BitList constructor

BitList(
  1. int length, {
  2. bool fill = false,
  3. bool growable = false,
})

Constructs a bit list of the given length.

Implementation

factory BitList(int length, {bool fill = false, bool growable = false}) =>
    BitList.filled(length, fill, growable: growable);