capacity property

int capacity

How much capacity the queue is using, regardless of reported length.

Use compact to remove any unused slots.

Implementation

int get capacity => _ids.length;