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