isBlankOrUndefined static method

bool isBlankOrUndefined(
  1. String? str
)

检查字符串是否为null、空白串、“null”、“undefined”

Implementation

static bool isBlankOrUndefined(String? str) {
  if (isBlank(str)) {
    return true;
  }
  return isNullOrUndefinedStr(str!);
}