BloomRouteMatch class
Result of a successful route match containing the matched route and extracted parameters.
Created by BloomRouter.match when a URL path successfully satisfies a BloomRoute pattern. Contains extracted route parameters (params), single-value query parameters (query), multi-value query parameters (queryAll), and the optional hash fragment.
Constructors
Properties
- fragment → String
-
Extracted URL hash fragment without the leading
#.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
params
→ Map<
String, String> -
Extracted route parameters, keyed by parameter name with URI-decoded string values.
final
-
query
→ Map<
String, String> -
Extracted route query parameters (single value per key, last wins).
final
-
queryAll
→ Map<
String, List< String> > -
Extracted route query parameters preserving multiple values for repeated keys.
final
- route → BloomRoute
-
The BloomRoute that matched the requested path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → BloomNode - Builds and returns the BloomNode descriptor tree for this route match.
-
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