RelationshipFetched<R extends Relationship> class
A response to a relationship fetch request.
Constructors
- RelationshipFetched(Response rawResponse, R relationship)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpResponse → Response
-
The raw HTTP response
no setter
-
included
→ List<
Resource> -
final
- rawResponse → Response
-
The raw JSON:API response
final
- relationship → R
-
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) → RelationshipFetched< ToMany> -
one(
Response response) → RelationshipFetched< ToOne>