copy method

  1. @override
CastParser<R, S> copy()
override

Returns a shallow copy of the receiver.

Override this method in all subclasses, return its own type.

Implementation

@override
CastParser<R, S> copy() => CastParser<R, S>(delegate);