withItem2<E> method

Tuple7<T1, E, T3, T4, T5, T6, T7> withItem2<E>(
  1. E newItem
)

Returns a tuple with the item2 set to the specified value.

Implementation

Tuple7<T1, E, T3, T4, T5, T6, T7> withItem2<E>(E newItem) =>
    Tuple7(item1, newItem, item3, item4, item5, item6, item7);