isEmpty property

bool get isEmpty

Returns true if this instance is empty.

Implementation

bool get isEmpty => length == 0;