isNotBlank property

bool get isNotBlank

Returns true if s is neither null, empty nor is solely made of whitespace characters.

Implementation

bool get isNotBlank => trim().isNotEmpty;