RelationshipUpdated<R extends Relationship> class

A response to a relationship request.

Constructors

RelationshipUpdated(Response rawResponse, R? relationship)

Properties

hashCode int
The hash code for this object.
no setterinherited
httpResponse → Response
The raw HTTP response
no setter
rawResponse → Response
The raw JSON:API response
final
relationship → R?
Updated relationship. Null if "204 No Content" is returned.
final
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

Static Methods

many(Response response) RelationshipUpdated<ToMany>
one(Response response) RelationshipUpdated<ToOne>