Utils class

Constructors

Utils()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

checkAndCreateDirectory(String path) → String
递归创建文件夹
copyFiles({required String inputDir, required String outputDir}) → Future<void>
复制文件
deleteDirectory(String path) → Future<void>
删除文件夹
deleteFile(String filePath) → Future<void>
删除文件
getStaticMpa(String? content, String key) → String?
获取静态变量的值
toCamelCase(String projectName) → String
将项目名转成驼峰命名,例如 rf_online → rfOnline