isNotBlank property

bool isNotBlank

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

Implementation

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