AssetWriterSpy class

An AssetWriter which tracks all assetsWritten during its lifetime.

Implemented types

Constructors

AssetWriterSpy(AssetWriter _delegate)

Properties

assetsWritten Iterable<AssetId>
no setter
hashCode int
The hash code for this object.
no setterinherited
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.
inherited
writeAsBytes(AssetId id, List<int> bytes) Future<void>
Writes bytes to a binary file located at id.
override
writeAsString(AssetId id, String contents, {Encoding encoding = utf8}) Future<void>
Writes contents to a text file located at id with encoding.
override

Operators

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