ResponseBuilder class

Constructors

ResponseBuilder()

Properties

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

addHeader(String name, String value) ResponseBuilder
body(ResponseBody value) ResponseBuilder
build() Response
cacheResponse(Response value) ResponseBuilder
code(int value) ResponseBuilder
headers(Headers value) ResponseBuilder
message(String value) ResponseBuilder
networkResponse(Response value) ResponseBuilder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
priorResponse(Response value) ResponseBuilder
receivedResponseAtMillis(int value) ResponseBuilder
removeHeader(String name) ResponseBuilder
request(Request value) ResponseBuilder
sentRequestAtMillis(int value) ResponseBuilder
toString() String
Returns a string representation of this object.
inherited

Operators

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