AssetList class

Constructors

AssetList({required Lib lib, required SharedOptions options, String? content})

Properties

assets List<AssetItem>
no setter
hashCode int
The hash code for this object.
no setterinherited
lib Lib
final
list Map<String, AssetItem>
final
options SharedOptions
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String path, {bool nowWrite = true, bool isFailTip = true}) Future<void>
checkAsset({AssetList? oldList, bool nowWrite = true}) Future<void>
clean({bool nowWrite = true}) Future<void>
get(AssetItem asset) AssetItem?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String path, {bool useMemory = false, bool nowWrite = true, bool isFailTip = true}) Future<void>
toModelString() String
toString() String
A string representation of this object.
override
toValueString() String
writeListFile() Future<void>

Operators

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

Static Methods

readAssetDir(Lib lib, SharedOptions options) Future<AssetList?>
readListFile(Lib lib, SharedOptions options) Future<AssetList?>

Constants

className → const String