AppNavigationGuard class

Constructors

AppNavigationGuard({required Pattern guardPattern, required AppLocation? guard(String), Pattern? guardExcludePattern})

Properties

guard AppLocation? Function(String)
final
guardExcludePattern Pattern?
final
guardPattern Pattern
final
hashCode int
The hash code for this object.
no setterinherited
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
shouldGuard(String path) bool
Returns true if the guard pattern matches the given path.
toString() String
A string representation of this object.
inherited
tryCastToRegExp(Pattern pattern) RegExp

Operators

operator ==(Object other) bool
The equality operator.
inherited