isNullOrEmpty static method

bool isNullOrEmpty(
  1. String? str
)

Implementation

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