isEmpty property

bool get isEmpty

Whether there are no items.

Implementation

bool get isEmpty => _itemCount == 0;