NavigationResolver class
Represents a guarded navigation event which can be either continued or aborted used in AutoRouteGuard.onNavigation
Constructors
- default constructor
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isResolved → bool
-
Whether
_completer
is completed see Completer.isCompletedno setter -
pendingRoutes
→ List<
RouteMatch> -
If there are more that one route in
the navigation even pending routes will
be the routes that's waiting to be processed by guard
final
- route → RouteMatch
-
The route being processing by the guard
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
next(
[→ void ]) -
Completes
_completer
with either true to continue navigation or false to abort navigation -
nextOrBack(
[→ void ]) - Helpful for when you want to revert to the previous url back can not navigate
-
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