InMemoryAssetWriter class Null safety

An implementation of AssetWriter that writes outputs to memory.

Implemented types

Constructors

InMemoryAssetWriter()

Properties

assets Map<AssetId, List<int>>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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. [...]
override
writeAsString(AssetId id, String contents, {Encoding encoding = utf8}) Future
Writes contents to a text file located at id with encoding. [...]
override

Operators

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