allocate method
Acquires and returns the index at the head of the free queue.
Implementation
int? allocate() => _free.isEmpty ? null : _free.removeFirst();
Acquires and returns the index at the head of the free queue.
int? allocate() => _free.isEmpty ? null : _free.removeFirst();