RouteNode class abstract interface

A node stored in a route tree.

Implementers

Properties

children → List<RouteNode>
Child routes.
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasPathCodec → bool
Whether dynamic path values have a typed codec.
no setter
identity → Object
Stable identity shared by compiled route variants.
no setter
metadata → RouteMetadata
Metadata shared by optional route capabilities.
no setter
path → String?
The route's relative or absolute path declaration.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
template → PathTemplate
The parsed path template.
no setter
terminal → bool
Whether this route can be the final match for a location.
no setter

Methods

capability<T extends Object>(RouteCapability<T> key) → T?
Reads an optional capability attached by another package entrypoint.
decodePath(Map<String, List<String>> values) → Object?
Decodes this route's path parameters.
decodeQuery(Map<String, List<String>> values) → DecodedSearch<Object?>
Decodes this route's search state.
encodePath(Object? params) → List<String>
Encodes this route's local path through the generated boundary.
encodeQuery(Object? search) → Map<String, List<String>>
Encodes this route's local search state.
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