RouteSpecification class

Specifies a matchable route path.

Contains RouteSegments for each path segment. This class is used internally by Router.

Constructors

RouteSpecification(String patternString)
Creates a RouteSpecification from a String.

Properties

controller Controller?
A reference back to the Controller to be used when this specification is matched.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segments List<RouteSegment>
A list of this specification's RouteSegments.
getter/setter pair
variableNames List<String>
A list of all variables in this route.
getter/setter pair

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

Static Methods

specificationsForRoutePattern(String routePattern) List<RouteSpecification>