AssetsDetector class
Constructors
-
AssetsDetector({required int randomStringLength, required String assetsPath, List<
String> ? excludePath})
Properties
-
allDir
→ List<
Directory> -
final
-
allFile
→ List<
File> -
final
- assetsPath → String
-
資源路徑
final
-
excludePath
→ List<
String> ? -
排除路徑
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imagesPath ↔ String?
-
圖片資源入口路徑
getter/setter pair
-
obfuscatePathList
→ List<
ObfuscatePath> -
混淆路徑
final
- projectPath ↔ String?
-
專案路徑
getter/setter pair
- randomStringLength → int
-
隨機字串長度
final
-
randomStringMap
→ Map<
String, String> -
隨機字串映射表
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compressImage(
String imagePath) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
obfuscate(
) → void - 將底下的圖片資源(1. 檔名, 2. 路徑)混淆
-
outputObfuscateMap(
) → String - 輸出混淆路徑映射檔
-
searchImage(
String projectPath) → bool - 搜索專案中的圖片資源
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited