isNotBlank static method

bool isNotBlank(
  1. String? str
)

Implementation

static bool isNotBlank(String? str) {
  if (str != null && str.trim() != "") {
    return true;
  }
  return false;
}