isEmpty static method

bool isEmpty(
  1. String? string
)

检查字符串是否为空 Check whether the string is empty

Implementation

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