isEmpty property

bool get isEmpty

Returns true if the string view is empty.

Implementation

bool get isEmpty => length == 0;