Response<D extends OutboundDocument> class
JSON:API response
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
Static Methods
-
badRequest(
[OutboundErrorDocument? document]) → Response< OutboundDocument> -
created(
OutboundDocument document, String location) → Response< OutboundDocument> -
methodNotAllowed(
[OutboundErrorDocument? document]) → Response< OutboundDocument> -
noContent(
) → Response< OutboundDocument> -
notFound(
[OutboundErrorDocument? document]) → Response< OutboundDocument> -
ok(
OutboundDocument document) → Response< OutboundDocument> -
unacceptable(
[OutboundErrorDocument? document]) → Response< OutboundDocument> -
unsupportedMediaType(
[OutboundErrorDocument? document]) → Response< OutboundDocument>