withSecond<T> method

Tuple6<T1, T, T3, T4, T5, T6> withSecond<T>(
  1. T value
)

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

Implementation

Tuple6<T1, T, T3, T4, T5, T6> withSecond<T>(T value) =>
    Tuple6(first, value, third, fourth, fifth, sixth);