Skip to content

CodecTuple6Ops<T0, T1, T2, T3, T4, T5>

extension CodecTuple6Ops<T0, T1, T2, T3, T4, T5> on Record

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

Methods

product() extension

Codec<T6> product<T6>(
  T6 Function(T0, T1, T2, T3, T4, T5) apply,
  Record Function(T6) tupled,
)

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

Implementation
dart
Codec<T6> product<T6>(
  Function6<T0, T1, T2, T3, T4, T5, T6> apply,
  Function1<T6, (T0, T1, T2, T3, T4, T5)> tupled,
) => Codec.product6(this.$1, this.$2, this.$3, this.$4, this.$5, this.$6, apply, tupled);