IHttpResponse class abstract

Represents a HTTP result from the API.

Implementers

Constructors

IHttpResponse()

Properties

body Uint8List
The body of this response.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasJsonBody bool
Whether this response has a JSON body.
no setter
headers Map<String, String>
The headers associated with the response.
no setter
jsonBody → dynamic
The body of this response, decoded as JSON.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The status code of the response.
no setter
textBody String?
The body of this response, decoded as UTF-8.
no setter

Methods

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