MockClient class

Inheritance

Constructors

MockClient(MockClientHandler _handler)
Creates a MockClient with a handler that receives Requests and sends Responses.

Properties

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

Methods

close() → void
Closes the Request and cleans up any resources associated with it.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send<T>(Request<T> request) Future<Response<T>>
Sends an HTTP Request.
override
toString() String
A string representation of this object.
inherited

Operators

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