withLast<T> method
Returns a new tuple with the last element replaced by value
.
Implementation
Tuple6<T1, T2, T3, T4, T5, T> withLast<T>(T value) =>
Tuple6(first, second, third, fourth, fifth, value);
Returns a new tuple with the last element replaced by value
.
Tuple6<T1, T2, T3, T4, T5, T> withLast<T>(T value) =>
Tuple6(first, second, third, fourth, fifth, value);