ResourceController class abstract interface

Controller contract for Router.apiResource (index, store, show, update, destroy). Implement the actions you need; the router only registers the ones selected with only/except.

Implementers

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

destroy(Request request) → FutureOr<Object?>
index(Request request) → FutureOr<Object?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show(Request request) → FutureOr<Object?>
store(Request request) → FutureOr<Object?>
toString() → String
A string representation of this object.
inherited
update(Request request) → FutureOr<Object?>

Operators

operator ==(Object other) → bool
The equality operator.
inherited