cast<S> method
Returns a parser that casts itself to Parser<R>.
Implementation
@useResult
Parser<S> cast<S>() => CastParser<R, S>(this);
Returns a parser that casts itself to Parser<R>.
@useResult
Parser<S> cast<S>() => CastParser<R, S>(this);