GenericAsset class final
A default asset for file extensions not directly supported by the other Assets.
Note:
This type should with Nitrogen, a type-safe asset generation tool.
Constructors
- GenericAsset(String? package, String key, String path)
-
Creates a GenericAsset.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- key → String
-
A key that identifies this asset.
finalinherited
- package → String?
-
The containing package's name.
finalinherited
- path → String
-
A path to this asset, i.e.
assets/icons/application/analysis.svg
.finalinherited - 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override