isFull property

bool get isFull

Whether the list has reached its maximum capacity.

When isFull is true, adding new elements will remove the oldest ones.

Implementation

bool get isFull => length == capacity;