GuardedRoutes class

Constructors

GuardedRoutes(AppRoutes<AppRoute> routes, GuardFunction<AppRoute> onGuard)

Properties

hashCode int
The hash code for this object.
no setterinherited
onGuard GuardFunction<AppRoute>
final
routes AppRoutes<AppRoute>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

guard({required GuardFunction<AppRoute> onGuard, dynamic guarded(GuardedRoutes routes)?}) GuardedRoutes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
page<T extends AppRoute>(String path, PageBuilder<T> onBuild, {GuardFunction<T>? onGuard}) → void
toString() String
A string representation of this object.
inherited
view<T extends AppRoute>(String path, ViewBuilder<T> onBuild, {GuardFunction<T>? onGuard}) → void

Operators

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