withItem2 method Null safety

Tuple3<T1, T2, T3> withItem2(
  1. T2 v
)

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

Implementation

Tuple3<T1, T2, T3> withItem2(T2 v) => Tuple3<T1, T2, T3>(item1, v, item3);