DefaultDestinationParser class

A default implementation of DestinationParser.

Inheritance

Constructors

DefaultDestinationParser()
Creates default destination parser.
const

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

isMatch(String uri, Destination<DestinationParameters> destination) bool
Checks if the destination matches the uri.
inherited
isPathParameter(String pathSegment) bool
Check if the path segment string is a valid path parameter placeholder.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parametersFromMap(Map<String, String> map) Future<DestinationParameters>
Creates a destination parameters object of type T from the given map.
override
parametersToMap(DestinationParameters parameters) Map<String, String>
Converts destination parameters object of type T to a map.
override
parseParameters(String uri, Destination<DestinationParameters> matchedDestination) Future<Destination<DestinationParameters>>
Parses parameter values from the specified URI for matched destination.
inherited
parsePathParameterName(String pathSegment) String
Extract parameter name from the path segment string.
inherited
toString() String
A string representation of this object.
inherited
uri(Destination<DestinationParameters> destination) String
Returns URI string for the destination
inherited

Operators

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