isNotEmpty static method

bool isNotEmpty(
  1. String? value
)

Validates that a string is not empty

Implementation

static bool isNotEmpty(String? value) {
  return value != null && value.trim().isNotEmpty;
}