IHttpResponse class abstract

Represents a HTTP result from the API.

Implementers

Constructors

IHttpResponse()

Properties

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

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