Middleware class abstract
Middleware interface for intercepting actions
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
-
after(
Action action, dynamic result) → Future< void> - Called after successful action execution
-
before(
Action action) → Future< Action?> - Called before action execution
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
Object error, StackTrace stackTrace, Action action) → Future< void> - Called when action execution fails
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited