isEmpty property

bool isEmpty

Whether the BitArray is empty == has only zero values.

Implementation

bool get isEmpty {
  return _data.every((i) => i == 0);
}