PathTemplate class final
The reversible subset of Roux path syntax used by typed destinations.
Constructors
- PathTemplate.parse(String source)
-
Parses static segments,
:name, and final**:namecaptures.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parameterNames
→ Set<
String> -
Dynamic parameter names owned by this path.
final
- pattern → String
-
The local Roux pattern used while registering a complete branch.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
The original local path.
final
Methods
-
build(
Map< String, List< parameters) → List<String> >String> - Builds decoded path segments from typed encoded parameters.
-
captures(
Map< String, String> values) → Map<String, List< String> > - Extracts only this route's decoded captures from a Roux match.
-
consumedSegments(
Map< String, String> values) → int - Number of source path segments consumed by this route.
-
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