RouteSpecification class Null safety
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.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
segments
↔ List<
RouteSegment> -
A list of this specification's
RouteSegment
s.read / write -
variableNames
↔ List<
String> -
A list of all variables in this route.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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>