RouteDefinition constructor

RouteDefinition(
  1. String pattern
)

Implementation

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