AllowAllMiddleware class
A simple middleware that always allows navigation.
Useful as a base or for testing.
- Inheritance
-
- Object
- MagicMiddleware
- AllowAllMiddleware
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
-
handle(
void next()) → Future< void> -
Handle the navigation request.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
redirectTarget(
String location) → String? -
Resolve a redirect target for
locationBEFORE the route builds.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited