withFifth<T> method

Tuple8<T1, T2, T3, T4, T, T6, T7, T8> withFifth<T>(
  1. T value
)

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

Implementation

Tuple8<T1, T2, T3, T4, T, T6, T7, T8> withFifth<T>(T value) =>
    Tuple8(first, second, third, fourth, value, sixth, seventh, eighth);