isNotNullOrBlank property

bool isNotNullOrBlank

Returns true if this is not null, not empty, and does not consist solely of whitespace characters as defined by String.trim.

Implementation

bool get isNotNullOrBlank => this?.trim().isNotEmpty ?? false;