Skip to content

CodecTuple11Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

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

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

Methods

product() extension

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

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

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