isEmpty property Null safety

bool isEmpty
override

Whether the queue is empty.

Implementation

@override
bool get isEmpty => _length == 0;