withItem1 method Null safety

Tuple5<T1, T2, T3, T4, T5> withItem1(
  1. T1 v
)

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

Implementation

Tuple5<T1, T2, T3, T4, T5> withItem1(T1 v) =>
    Tuple5<T1, T2, T3, T4, T5>(v, item2, item3, item4, item5);