ParseRouteTree class
Constructors
-
ParseRouteTree({required List<
GetPage> routes})
Properties
Methods
-
addRoute<
T> (GetPage< T> route) → void -
addRoutes<
T> (List< GetPage< getPages) → voidT> > -
matchRoute(
String name, {PageSettings? arguments}) → RouteDecoder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ownMiddlewaresOf(
String name) → List< GetMiddleware> ? -
Returns the middlewares declared directly on the registered page
matching
name, excluding middlewares inherited from ancestor pages during route-tree flattening, ornullwhen no registered page matchesname. -
removeRoute<
T> (GetPage< T> route) → void -
removeRoutes<
T> (List< GetPage< getPages) → voidT> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
bindingOwnersOf(
List< GetPage> branch) → Map<BindingsInterface, String> -
Maps every binding instance carried by the leaf of
branch(a tree branch as produced by matchRoute) to the name of the page that declared it.