HttpRestResponse class
This class represents the response, get returned by HttpRestClient.execute method. It contains the original request, the rowResponse instance of RowResponse, which contains all the response info, like the response headers, code, body bytes, and more (see RowResponse). The response parameter is converted response, which get created by provided ResponseConverter, as an example the JsonToMapResponseConverter get the RowResponse.bodyBytes and convert them to Map.
Constructors
- HttpRestResponse.new(HttpRestRequest request, RowResponse rowResponse, dynamic response)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- request → HttpRestRequest
-
final
- response → dynamic
-
final
- rowResponse → RowResponse
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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