ParsingResult class

The result of trying to match a path to a route.

Constructors

ParsingResult({required bool matches, required String path, required String patternPath, required String matchingPath, required Map<String, String> pathParameters})

Properties

hashCode int
The hash code for this object.
no setterinherited
matches bool
If the path matches the route
final
matchingPath String
The part of the route
final
parameters Map<String, String>
The query parameters from pathParameters and queryParameters
latefinal
path String
The route path that was matched
final
pathParameters Map<String, String>
The parameters extracted from route wildcards
final
patternPath String
The route path being matched onto
final
queryParameters Map<String, String>
The query parameters from route query
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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