withFifth<T> method

Tuple5<T1, T2, T3, T4, T> withFifth<T>(
  1. T value
)

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

Implementation

Tuple5<T1, T2, T3, T4, T> withFifth<T>(T value) =>
    Tuple5(first, second, third, fourth, value);