isNotEmpty static method

bool isNotEmpty(
  1. String? text
)

Implementation

static bool isNotEmpty(String? text) => text != null && text.isNotEmpty;