isEmpty property

bool get isEmpty

Returns true if string is null or empty

Implementation

bool get isEmpty => this == null || this!.length == 0;