withThird<T> method
(T1, T2, T, T4, T5)
withThird<T>(
- T value
Returns a new tuple with the third element replaced by value
.
Implementation
(T1, T2, T, T4, T5) withThird<T>(T value) => ($1, $2, value, $4, $5);