ParameterToken class
Corresponds to a parameter of a path specification.
- Implemented types
Constructors
- ParameterToken(String name, {String pattern = r'([^/]+?)'})
- Creates a parameter token for name.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The parameter name.
final
- pattern → String
-
The regular expression pattern this matches.
final
- regExp → RegExp
-
The regular expression compiled from pattern.
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
-
toPath(
Map< String, String> args) → String -
Returns the path representation of this given
args
.override -
toPattern(
) → String -
Returns the regular expression pattern this matches.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited