isNotBlank property

bool get isNotBlank

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

Implementation

bool get isNotBlank {
  if (isEmptyOrNull) return false;
  return !this!.trim().isEmptyOrNull;
}