Controller class abstract
JSON:API controller
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addMany(
Request request, RelationshipTarget target) → Future< Response> - Add new entries to a to-many relationship
-
createResource(
Request request, Target target) → Future< Response> - Create resource
-
deleteMany(
Request request, RelationshipTarget target) → Future< Response> - Deletes the members from the to-many relationship
-
deleteResource(
Request request, ResourceTarget target) → Future< Response> - Deletes the primary resource
-
fetchCollection(
Request request, Target target) → Future< Response> - Fetch a primary resource collection
-
fetchRelated(
Request request, RelatedTarget target) → Future< Response> - Fetches related resource or collection
-
fetchRelationship(
Request rq, RelationshipTarget target) → Future< Response> - Fetches a relationship
-
fetchResource(
Request request, ResourceTarget target) → Future< Response> - Fetch a single primary resource
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replaceRelationship(
Request request, RelationshipTarget target) → Future< Response> - Updates the relationship
-
toString(
) → String -
A string representation of this object.
inherited
-
updateResource(
Request request, ResourceTarget target) → Future< Response> - Updates a primary resource
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited