ResourceCreated class

A response to a new resource creation request. This is always a "201 Created" response.

https://jsonapi.org/format/#crud-creating-responses-201

Constructors

ResourceCreated(Response rawResponse)

Properties

hashCode int
The hash code for this object.
no setterinherited
included List<Resource>
Included resources
final
Top-level links
final
meta Map<String, Object?>
Top-level meta data
final
rawResponse → Response
The raw JSON:API response
final
resource Resource
Created resource.
latefinal
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