copy method
Creates a shallow copy of this parser.
Overridden in subclasses to return an instance of the specific parser type.
Implementation
@override
OptionalParser<R> copy() => OptionalParser<R>(delegate, otherwise);
Creates a shallow copy of this parser.
Overridden in subclasses to return an instance of the specific parser type.
@override
OptionalParser<R> copy() => OptionalParser<R>(delegate, otherwise);