RouteDefinition constructor
RouteDefinition(
- String pattern
Implementation
RouteDefinition(this.pattern)
: segments = _parsePath(pattern),
isWildcard = pattern.contains('*');
RouteDefinition(this.pattern)
: segments = _parsePath(pattern),
isWildcard = pattern.contains('*');