RouteBranch class final

The matched root-to-leaf route branch.

Constructors

RouteBranch.from(Iterable<({Object? params, RouteNode route, Object? search})> values)
Creates branch state from ordered matched values.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

match<P, S, D>(TypedRoute<P, S, D> route) → RouteValues<P, S>?
Returns typed values for an active route.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
values(RouteNode route) → RouteValues<Object?, Object?>?
Returns untyped values for a route node.

Operators

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