mapSecond<TN> method
Change type of second value of the Tuple
from T2
to TN
using f
.
Implementation
Tuple2<T1, TN> mapSecond<TN>(TN Function(T2 second) f) =>
Tuple2(_value1, f(_value2));
Change type of second value of the Tuple
from T2
to TN
using f
.
Tuple2<T1, TN> mapSecond<TN>(TN Function(T2 second) f) =>
Tuple2(_value1, f(_value2));