parse method
Handles the actual parsing logic
See also:
- ParseResult, for what the different types of ParseResult mean
Implementation
@override
ParseParamResult parse(ParseContext context, String source) {
final match = regExp.firstMatch(source);
return match != null
? ParseResult.value(key, map(match))
: ParseResult.noValue;
}