BitArray constructor

BitArray(
  1. int length
)

Creates a bit array with maximum length items.

Implementation

factory BitArray(int length) =>
    BitArray._(length, Uint32List((length + 31) >> 5));