mapBoth<C, D> method
Change type of both values of the Tuple
using f
.
This is the same as mapFirst
and mapSecond
combined.
Implementation
Tuple2<C, D> mapBoth<C, D>(Tuple2<C, D> Function(T1 first, T2 second) f) =>
f(_value1, _value2);