isNullOrEmpty static method

bool isNullOrEmpty(
  1. String? text
)

Implementation

static bool isNullOrEmpty(String? text) {
  return text == null || text.isEmpty;
}