RejectedByGuardFailure class
A failure indicates that the one of the guards has aborted the navigation on this route by calling NavigationResolver.next with false value
- Inheritance
-
- Object
- NavigationFailure
- RejectedByGuardFailure
Constructors
- RejectedByGuardFailure(RouteMatch route, AutoRouteGuard guard)
-
default constructor
const
Properties
- guard → AutoRouteGuard
-
The guard that did the rejection
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- route → RouteMatch
-
The rejected route
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited