forProduct12<A, B, C, D, E, F, G, H, I, J, K, L, M> static method
Decoder<A>
forProduct12<
A, B, C, D, E, F, G, H, I, J, K, L, M>( - Decoder<B> decodeB,
- Decoder<C> decodeC,
- Decoder<D> decodeD,
- Decoder<E> decodeE,
- Decoder<F> decodeF,
- Decoder<G> decodeG,
- Decoder<H> decodeH,
- Decoder<I> decodeI,
- Decoder<J> decodeJ,
- Decoder<K> decodeK,
- Decoder<L> decodeL,
- Decoder<M> decodeM,
- A fn(
- B,
- C,
- D,
- E,
- F,
- G,
- H,
- I,
- J,
- K,
- L,
- M,
),
)
Implementation
static Decoder<A> forProduct12<A, B, C, D, E, F, G, H, I, J, K, L, M>(
Decoder<B> decodeB,
Decoder<C> decodeC,
Decoder<D> decodeD,
Decoder<E> decodeE,
Decoder<F> decodeF,
Decoder<G> decodeG,
Decoder<H> decodeH,
Decoder<I> decodeI,
Decoder<J> decodeJ,
Decoder<K> decodeK,
Decoder<L> decodeL,
Decoder<M> decodeM,
A Function(B, C, D, E, F, G, H, I, J, K, L, M) fn,
) =>
tuple12(decodeB, decodeC, decodeD, decodeE, decodeF, decodeG, decodeH,
decodeI, decodeJ, decodeK, decodeL, decodeM)
.map((t) => t.apply(fn));