withItem5 method Null safety

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

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

Implementation

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