withItem4 method Null safety

Tuple4<T1, T2, T3, T4> withItem4(
  1. T4 v
)

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

Implementation

Tuple4<T1, T2, T3, T4> withItem4(T4 v) =>
    Tuple4<T1, T2, T3, T4>(item1, item2, item3, v);