RoutingResult<T> class

Represents a complex result of navigating to a path.

Constructors

RoutingResult({ParseResult<RouteResult> parseResult, Map<String, dynamic> params: const {}, Iterable<RoutingResult<T>> nested, Route<T> shallowRoute, Router<T> shallowRouter, @required String tail})

Properties

allHandlers List<T>
All handlers on this sub-path and its children.
read-only
allParams Map<String, dynamic>
All parameters on this sub-path and its children.
read-only
deepest RoutingResult<T>
The RoutingResult that matched the most specific sub-path.
read-only
handlers List<T>
The handlers at this sub-path.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
nested Iterable<RoutingResult<T>>
A nested instance, if a sub-path was matched.
final
params Map<String, dynamic>
All route params matching this route on the current sub-path.
final
parseResult ParseResult<RouteResult>
The parse result that matched the given sub-path.
final
route Route<T>
The most specific route.
read-only
router Router<T>
The most specific router.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shallowRoute Route<T>
The Route that answered this sub-path. [...]
final
shallowRouter Router<T>
The Router that answered this sub-path. [...]
final
tail String
The remainder of the full path that was not matched, and was passed to nested routes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited