available property
int
get
available
Returns the number of available slots in the pool.
Implementation
int get available => _capacity - allocated;
Returns the number of available slots in the pool.
int get available => _capacity - allocated;