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(
HttpRequest request, RelationshipTarget target) → Future< HttpResponse> - Add new entries to a to-many relationship
-
createResource(
HttpRequest request, Target target) → Future< HttpResponse> - Create resource
-
deleteMany(
HttpRequest request, RelationshipTarget target) → Future< HttpResponse> - Deletes the members from the to-many relationship
-
deleteResource(
HttpRequest request, ResourceTarget target) → Future< HttpResponse> - Deletes the primary resource
-
fetchCollection(
HttpRequest request, Target target) → Future< HttpResponse> - Fetch a primary resource collection
-
fetchRelated(
HttpRequest request, RelatedTarget target) → Future< HttpResponse> - Fetches related resource or collection
-
fetchRelationship(
HttpRequest rq, RelationshipTarget target) → Future< HttpResponse> - Fetches a relationship
-
fetchResource(
HttpRequest request, ResourceTarget target) → Future< HttpResponse> - Fetch a single primary resource
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replaceRelationship(
HttpRequest request, RelationshipTarget target) → Future< HttpResponse> - Updates the relationship
-
toString(
) → String -
A string representation of this object.
inherited
-
updateResource(
HttpRequest request, ResourceTarget target) → Future< HttpResponse> - Updates a primary resource
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited