isNotEmpty static method

bool isNotEmpty({
  1. String? str,
})

Is it an empty string

Implementation

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