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