withItem2 method Null safety

Tuple2<T1, T2> withItem2(
  1. T2 v
)

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

Implementation

Tuple2<T1, T2> withItem2(T2 v) => Tuple2<T1, T2>(item1, v);