withThird<T> method

Tuple5<T1, T2, T, T4, T5> withThird<T>(
  1. T value
)

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

Implementation

Tuple5<T1, T2, T, T4, T5> withThird<T>(T value) =>
    Tuple5(first, second, value, fourth, fifth);