RoutingResult<T> class

Represents a complex result of navigating to a path.

Constructors

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

Properties

allHandlers List<T>
All handlers on this sub-path and its children.
no setter
allParams Map<String, dynamic>
All parameters on this sub-path and its children.
no setter
deepest RoutingResult<T>
The RoutingResult that matched the most specific sub-path.
no setter
handlers List<T>
The handlers at this sub-path.
no setter
hashCode int
The hash code for this object.
no setterinherited
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.
no setter
router Router<T>
The most specific router.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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 nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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