Link class
Annotation describing link parameters for given route
Example:
@Link(
paths: ['posts/:{id}'],
query: [
'filter',
],
)
Constructors
Properties
- customHandler → Type?
-
Custom handler for this route
final
- customParamsMapper → Type?
-
Custom mapper for this route
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
paths
→ List<
String> ? -
List of paths supported by this route
final
-
possibleFragments
→ List<
String> ? -
List of fragments supported by this link
final
-
possibleFragmentsForPath
→ List<
List< ?String> > -
List of fragments supported by every link in paths array
final
-
queriesForPath
→ List<
List< ?String> > -
Query params for every link in paths array.
final
-
query
→ List<
String> -
Query params for this link
final
-
regexes
→ List<
String> ? -
List of regexes supported by this route
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited