isEmpty property

bool get isEmpty

Returns true if this instance is of length 0.

Implementation

bool get isEmpty => length == 0;