isEmpty property

bool isEmpty

Returns true if this instance is of length 0.

Implementation

bool get isEmpty => length == 0;