Response<D extends OutboundDocument> class

JSON:API response

Inheritance
Available extensions

Constructors

Response(int statusCode, {D? document})

Properties

body String
Message body
no setteroverride
document → D?
final
hashCode int
The hash code for this object.
no setterinherited
headers LinkedHashMap<String, String>
Message headers. Case-insensitive.
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