isNotEmpty property Null safety

bool isNotEmpty
override

Whether the queue has any elements.

Implementation

@override
bool get isNotEmpty => _length != 0;