withItem4<E> method

Tuple8<T1, T2, T3, E, T5, T6, T7, T8> withItem4<E>(
  1. E newItem
)

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

Implementation

Tuple8<T1, T2, T3, E, T5, T6, T7, T8> withItem4<E>(E newItem) =>
    Tuple8(item1, item2, item3, newItem, item5, item6, item7, item8);