isEmptyString static method

bool isEmptyString(
  1. String? str
)

Returns true if the string is null or 0-length.

Implementation

static bool isEmptyString(String? str) {
  return str == null || str.isEmpty;
}