admin
2022-03-31 36754ba47da7a3277d5be183a523c912a1dc4cef
src/main/resources/code/flutter/lib/utils/string_util.dart
@@ -6,6 +6,12 @@
        .hasMatch(str);
  }
  static bool isEmail(String str) {
    return RegExp(
        '^(\\w)+(\\.\\w+)*@(\\w)+((\\.\\w+)+)\$')
        .hasMatch(str);
  }
  static bool isNullOrEmpty(String? str) {
    return str==null|| str.isEmpty || str.trim().isEmpty;
  }