isNotEmpty property

bool isNotEmpty
override

Whether the queue has any elements.

Implementation

bool get isNotEmpty => _length != 0;