Skip to content

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

extensionCodecTuple10Ops<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>onRecord

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

Methods

product() extension

Codec<T10>product<T10>(T10Function(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,)apply,RecordFunction(T10)tupled,);

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

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