withItem2 method Null safety

Tuple6<T1, T2, T3, T4, T5, T6> withItem2(
  1. T2 v
)

Returns a tuple with the second item set to the specified value.

Implementation

Tuple6<T1, T2, T3, T4, T5, T6> withItem2(T2 v) =>
    Tuple6<T1, T2, T3, T4, T5, T6>(item1, v, item3, item4, item5, item6);