isNotBlank property

bool get isNotBlank

Returns true if this String is not null and contains at least one non-whitespace character.

Implementation

bool get isNotBlank => this != null && this!.trim().isNotEmpty;