HyperRoute<T extends RouteValue > class
abstract
Methods
createFromUrl (UrlData url )
→ RouteNode <RouteValue > ?
Receives a list of url segments and returns the stack parsed from them.
The first segment in the list is matched against this route. If it does
not correspond to this route, returns null.
createNode ({RouteNode <RouteValue > ? next , T? value , Completer ? popCompleter })
→ RouteNode <RouteValue >
createStack ({RouteNode <RouteValue > ? next , required Map <Object , RouteValue > values , Map <Object , Completer > popCompleters = const {} })
→ RouteNode <RouteValue > ?
Creates a stack of RouteNode s from this route to the root.
forEach (void action (HyperRoute <RouteValue > r ) )
→ void
nextNodeFromUrl (UrlData url )
→ RouteNode <RouteValue > ?
Finds a route that matches the url among its children and returns a stack
created from it.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
updateWithNext ({RouteNode <RouteValue > ? next , required T value , Completer ? popCompleter })
→ RouteNode <RouteValue >
Prioritizes next
over value
.
updateWithValue ({RouteNode <RouteValue > ? next , required T value , Completer ? popCompleter })
→ RouteNode <RouteValue >
Prioritizes value
over next
.