withFourth<T> method
(T1, T2, T3, T)
withFourth<T>(
- T value
Returns a new tuple with the fourth element replaced by value
.
Implementation
(T1, T2, T3, T) withFourth<T>(T value) => ($1, $2, $3, value);