isNotBlank property

bool get isNotBlank

Whether this string contains at least one non-whitespace character.

''.isNotBlank;       // false
'   '.isNotBlank;    // false
'hello'.isNotBlank;  // true

Implementation

bool get isNotBlank => !isBlank;