routeDefinition property

Parser<RouteDefinition> routeDefinition
final

Implementation

static final Parser<RouteDefinition> routeDefinition = routeSegment
    .separatedBy(slashes)
    .map<RouteDefinition>((r) => RouteDefinition(r.value ?? []))
    .surroundedBy(slashes.opt())