withSecond<T> method
Returns a new tuple with the second element replaced by value
.
Implementation
Tuple2<T1, T> withSecond<T>(T value) => Tuple2(first, value);
Returns a new tuple with the second element replaced by value
.
Tuple2<T1, T> withSecond<T>(T value) => Tuple2(first, value);