isFull property

bool get isFull

Returns true when the queue has reached maxSize.

Implementation

bool get isFull => maxSize > 0 && _queue.length >= maxSize;