Skip to content

CodecTuple3Ops<T0, T1, T2>

extension CodecTuple3Ops<T0, T1, T2> on Record

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

Methods

product() extension

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

Available on Record, provided by the CodecTuple3Ops<T0, T1, T2> extension

Implementation
dart
Codec<T3> product<T3>(
  Function3<T0, T1, T2, T3> apply,
  Function1<T3, (T0, T1, T2)> tupled,
) => Codec.product3(this.$1, this.$2, this.$3, apply, tupled);