isBlank property

bool get isBlank

Returns true if the string is null, empty, or solely made of whitespace characters. Alias for isEmptyOrNull.

Implementation

bool get isBlank => isEmptyOrNull;