AssetFolder class
Represents a folder of assets
Constructors
- AssetFolder(String path)
Properties
-
children
→ Iterable<
AssetNode> -
All children: folders + files
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFile → bool
-
no setterinherited
- isFolder → bool
-
no setterinherited
-
items
→ Map<
String, AssetItem> -
final
- name → String
-
finalinherited
- path → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subfolders
→ Map<
String, AssetFolder> -
final
- type → String
-
finalinherited
Methods
-
folder(
String name) → AssetFolder? - Get a child folder by name
-
item(
String name) → AssetItem? - Get a child item by name
-
list(
[String? prefix]) → Iterable< AssetItem> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
preload<
T> ([String? prefix]) → Future< void> -
preloadTransform<
T, R> ({String? prefix, R transform(T internal)?}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited