RouteGuard class abstract

Interface for defining route guards that control access or redirect based on the current route state.

Constructors

RouteGuard.new()
Creates a RouteGuard.
const

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

check(CurrentRoute currentRoute) Future<void>
Performs any logic required before allowing navigation.
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