Skip to content

CodecTuple8Ops<T0, T1, T2, T3, T4, T5, T6, T7>

extensionCodecTuple8Ops<T0, T1, T2, T3, T4, T5, T6, T7>onRecord

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

Methods

product() extension

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

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

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