isEmpty static method

bool isEmpty(
  1. String? text
)

Implementation

static bool isEmpty(String? text) =>
    text == null || text.isEmpty || text.trim().isEmpty;