newList method

  1. @override
List<bool> newList(
  1. int length, [
  2. bool? fillValue
])
override

Creates a fixed-length list of this data type.

Implementation

@override
List<bool> newList(int length, [bool? fillValue]) =>
    BitList.filled(length, fillValue ?? defaultValue);