RouteGuard class abstract
- Inheritance
-
- Object
- ModularMiddleware
- RouteGuard
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
-
call(
Handler handler, [ModularRoute? route]) → FutureOr< Response> Function(Request) -
override
-
canActivate(
Request request, Route route) → FutureOr< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pos(
ModularRoute route, Request data) → FutureOr< Route?> -
Method called as soon as route is found and after settings.
inherited
-
pre(
ModularRoute route) → FutureOr< ModularRoute?> -
Method called as soon as route is found and before settings.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited