DynamiteResponse<B, H> class

Response returned by operations of a DynamiteClient.

Implementers
Annotations
  • @immutable

Constructors

DynamiteResponse(int statusCode, B body, H headers)
Creates a new dynamite response.
const
DynamiteResponse.fromRawResponse(DynamiteRawResponse<B, H> rawResponse)
Converts the rawResponse to a generic dynamite response to free the resources taken by the raw parameters.
factory

Properties

body → B
The decoded body of the response.
final
hashCode int
The hash code for this object.
no setterinherited
headers → H
The decoded headers of the response.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The status code of the response.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited