Skip to content

CodecTuple13Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>

extension CodecTuple13Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> on Record

Provides a product operation on a 13-tuple of Codecs.

Methods

product() extension

Codec<T13> product<T13>(
  T13 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) apply,
  Record Function(T13) tupled,
)

Available on Record, provided by the CodecTuple13Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> extension

Implementation
dart
Codec<T13> product<T13>(
  Function13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> apply,
  Function1<T13, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> tupled,
) => Codec.product13(
  this.$1,
  this.$2,
  this.$3,
  this.$4,
  this.$5,
  this.$6,
  this.$7,
  this.$8,
  this.$9,
  this.$10,
  this.$11,
  this.$12,
  this.$13,
  apply,
  tupled,
);