map<B> method

Decoder<B> map<B>(
  1. Function1<A, B> f
)

Implementation

Decoder<B> map<B>(Function1<A, B> f) =>
    Decoder.instance((c) => decodeC(c).map(f));