freeIndices property

Iterable<int> get freeIndices

Physical indices currently available for allocation.

Implementation

Iterable<int> get freeIndices sync* {
  for (var index = 0; index < capacity; index++) {
    if (!allocatedIndices.contains(index)) {
      yield index;
    }
  }
}