parse method
Parses the input and returns a result wrapped in Result if successful,
null
otherwise.
Implementation
@override
Result<String>? parse(State<StringReader> state) {
final pos = state.pos;
final r = p.fastParse(state);
if (r) {
return state.pos != pos
? Result(state.input.substring(pos, state.pos))
: Result('');
}
return null;
}