withFourth<T> method

Tuple4<T1, T2, T3, T> withFourth<T>(
  1. T value
)

Returns a new tuple with the fourth element replaced by value.

Implementation

Tuple4<T1, T2, T3, T> withFourth<T>(T value) =>
    Tuple4(first, second, third, value);