withLast<T> method
Returns a new tuple with the last element replaced by value
.
Implementation
Tuple1<T> withLast<T>(T value) => Tuple1(value);
Returns a new tuple with the last element replaced by value
.
Tuple1<T> withLast<T>(T value) => Tuple1(value);