clearRange method

void clearRange(
  1. int fromInclusive,
  2. int toExclusive
)

Implementation

void clearRange(int fromInclusive, int toExclusive) => _bits.removeWhere((int bit) => bit >= fromInclusive && bit < toExclusive);