TestAsyncWorkerConnection class

A StdAsyncWorkerConnection which records its responses.

Inheritance
Implemented types

Constructors

TestAsyncWorkerConnection(Stream<List<int>> inputStream, StreamSink<List<int>> outputStream)

Properties

hashCode int
The hash code for this object.
no setterinherited
responses List<WorkResponse>
final
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
readRequest() Future<WorkRequest?>
Reads a WorkRequest or returns null if there are none left.
inherited
toString() String
A string representation of this object.
inherited
writeResponse(WorkResponse response) → void
override

Operators

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