isEmpty static method

bool isEmpty(
  1. String? str
)

Implementation

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