判断List是否为空
static bool listNoEmpty(List? list) { if (list == null) return false; if (list.length == 0) return false; return true; }