pattern property
String
get
pattern
The local Roux pattern used while registering a complete branch.
Implementation
String get pattern => _parts
.map((part) {
return switch (part) {
_StaticPart(:final value) => Uri.encodeComponent(value),
_ParameterPart(:final name) => ':$name',
_RestPart(:final name) => '**:$name',
};
})
.join('/');