Skip to content

CodecTuple3Ops<T0, T1, T2>

extensionCodecTuple3Ops<T0, T1, T2>onRecord

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

Methods

product() extension

Codec<T3>product<T3>(T3Function(T0,T1,T2)apply,RecordFunction(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);