Response<D extends OutboundDocument> class

JSON:API response

Constructors

Response(int statusCode, {D? document})

Properties

body → Body
The bytes comprising the body of this response.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
headers → Headers
Message headers.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
Response status code
finalinherited

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