flatMap<B> method

Decoder<B> flatMap<B>(
  1. Decoder<B> decodeB(
    1. A
    )
)

Implementation

Decoder<B> flatMap<B>(Decoder<B> Function(A) decodeB) => Decoder._unkeyed(
    (json) => decode(json).flatMap((a) => decodeB(a).decode(json)));