Returns true if the list is null or 0-length. 判断集合是否为空
static bool isEmptyList(Iterable? list) { return list == null || list.isEmpty; }