IOTuple2Ops<T1, T2>
extensionIOTuple2Ops<T1, T2>onIO<Record>
Provides additional functions on an IO of a 2 element tuple.
Methods
flatMapN() extension
Available on IO<A>, provided by the IOTuple2Ops<T1, T2> extension
Implementation
dart
IO<T3> flatMapN<T3>(Function2<T1, T2, IO<T3>> f) => flatMap(f.tupled);flatTapN() extension
Available on IO<A>, provided by the IOTuple2Ops<T1, T2> extension
Implementation
dart
IO<(T1, T2)> flatTapN<T3>(Function2<T1, T2, IO<T3>> f) => flatTap(f.tupled);mapN() extension
IO<T3>mapN<T3>(T3Function(T1,T2)f)
Available on IO<A>, provided by the IOTuple2Ops<T1, T2> extension
Implementation
dart
IO<T3> mapN<T3>(Function2<T1, T2, T3> f) => map(f.tupled);