GlobalMiddleware class
Registers a Middleware implementation globally, applied to every route.
Global middleware run in ascending order (ties broken by class name), before controller- and route-level middleware. The class joins the dependency injection graph automatically.
- Annotations
-
- @Target.new({TargetKind.classType})
Constructors
- GlobalMiddleware({int order = 0})
-
const
Properties
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