isEmptyOrNull property

bool get isEmptyOrNull

Returns true if the string is null, empty, or, after cleaning (collapsing into a single line, removing all whitespaces), is empty.

Implementation

bool get isEmptyOrNull => this == null || this!.clean.isEmpty;