DeekWebHttpResponse class

The raw response returned from the server, with no processing or parsing.

Constructors

DeekWebHttpResponse.fromResponse(Response response)
Creates a new DeekWebHttpResponse from an http.Response object.

Properties

body String
Gest the body of the response, represented as a String.
no setter
bodyBytes Uint8List
Gets the body of the response, represented as a list of bytes.
no setter
contentLength int?
Gets the content length in bytes for the body of the response. If no body or size is unknown, returns null.
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
Gets the headers for the response message.
no setter
reasonPhrase String?
Gets the HTTP reason phrase for the status.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
Gets the HTTP status code for the response.
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