isNotBlank property

bool get isNotBlank

Returns true if the string contains non-whitespace characters.

Implementation

bool get isNotBlank => trim().isNotEmpty;