isEmpty property

bool get isEmpty

Whether the sequence has no visible elements.

Implementation

bool get isEmpty => length == 0;