FileBasedAssetWriter class

Basic AssetWriter which uses a PackageGraph to look up where to write files to disk.

Implemented types

Constructors

FileBasedAssetWriter(PackageGraph packageGraph)

Properties

hashCode int
The hash code for this object.
no setterinherited
packageGraph PackageGraph
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(AssetId id) Future
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeAsBytes(AssetId id, List<int> bytes) Future
Writes bytes to a binary file located at id.
writeAsString(AssetId id, String contents, {Encoding encoding = utf8}) Future
Writes contents to a text file located at id with encoding.

Operators

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