isNotEmpty method

bool isNotEmpty(
  1. String? str
)

Implementation

bool isNotEmpty(String? str) {
  if (str == null) return false;
  return str.isNotEmpty;
}