UriPattern class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

UriPattern.new({required String pattern, required List<Segment> segments, required Map<String, String> queryLiterals})
UriPattern.fromJson(Map<String, Object?> json)
factory
UriPattern.parse(String uri)
factory

Properties

greedyLabel Segment?
Gets the greedy label of the pattern, if present.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
labels Iterable<Segment>
All segments that are labels.
no setterinherited
pattern String
finalinherited
props List<Object>
The type's equatable properties.
no setteroverride
queryLiterals Map<String, String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segments List<Segment>
finalinherited

Methods

getLabel(String name) Segment?
Get a label by case-insensitive name.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited