strEmpty static method

bool strEmpty(
  1. String? value
)

字符串为空

Implementation

static bool strEmpty(String? value) {
  if (value == null) return true;

  return value.trim().isEmpty;
}