Asset class
An asset file that's bundled with the cutting_room package.
Properties
- base64encoded → String
-
final
- fileName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
findAbsolutePathToPackageAsset(
) → String? - Attempts to find and return the absolute file path to this asset file, which is bundled with the cutting_room package.
-
findOrInflate(
[Directory? destinationDirectory]) → String - Attempts to find this asset in the cutting_room package, like findAbsolutePathToPackageAsset, and falls back to creating a new file with the asset's bytes, like inflateToLocalFile.
-
inflateToLocalFile(
[Directory? destinationDirectory]) → String - Writes this asset to a new file on the host's file system.
-
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