class ToolFn { // 字符串是否为空 static bool isBlank(String? str) { if (str == null || str.isEmpty) { return true; } return false; } }