withFirst<T> method

Tuple7<T, T2, T3, T4, T5, T6, T7> withFirst<T>(
  1. T value
)

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

Implementation

Tuple7<T, T2, T3, T4, T5, T6, T7> withFirst<T>(T value) =>
    Tuple7(value, second, third, fourth, fifth, sixth, seventh);