TestSyncWorkerConnection class
A StdSyncWorkerConnection which records its responses.
- Inheritance
-
- Object
- StdSyncWorkerConnection
- TestSyncWorkerConnection
- Implemented types
Constructors
- TestSyncWorkerConnection(Stdin stdinStream, Stdout stdoutStream)
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(
) → 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