isNull static method

bool isNull(
  1. dynamic value
)

验证参数是否为空

Implementation

static bool isNull(value) {
  return value == null || value.toString().trim().length == 0;
}