init
This commit is contained in:
9
lib/utils/tool.dart
Normal file
9
lib/utils/tool.dart
Normal file
@@ -0,0 +1,9 @@
|
||||
class ToolFn {
|
||||
// 字符串是否为空
|
||||
static bool isBlank(String? str) {
|
||||
if (str == null || str.isEmpty) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user