listOf<A> static method

Decoder<List<A>> listOf<A>(
  1. Decoder<A> elementDecoder
)

Implementation

static Decoder<List<A>> listOf<A>(Decoder<A> elementDecoder) =>
    ilistOf(elementDecoder).map((l) => l.toList());