Route class
Represents a path which has been matched with a RoutePattern.
Route provides the RoutePattern with which the path has been matched and all route parameters defined by the RoutePattern. If the pattern uses a wildcard suffix, the wildcard-part of the path is stored in Route.wildcard.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pattern → RoutePattern
-
final
-
routeParams
→ Map<
String, String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
final
- wildcard → String?
-
final
Methods
-
getParam<
T> (String name) → T - Returns the named route parameter.
-
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