IResponse class

Implemented types

Constructors

IResponse(Response _response)

Properties

body String
The body of the response as a string.
no setter
bodyBytes Uint8List
The bytes comprising the body of this response.
no setter
contentLength int?
The size of the response body, in bytes.
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
no setter
isRedirect bool
no setter
persistentConnection bool
Whether the server requested that a persistent connection be maintained.
no setter
reasonPhrase String?
The reason phrase associated with the status code.
no setter
request → BaseRequest?
The (frozen) request that triggered this response.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The HTTP status code for this response.
no setter

Methods

get(Token name) Object?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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