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