isEmpty static method

bool isEmpty(
  1. String? s
)

Implementation

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