notNullOrBlank function

Predicate<String?> notNullOrBlank()

Implementation

Predicate<String?> notNullOrBlank() {
  return (x) => x?.isNotEmpty == true;
}