withItem1<E> method

Tuple5<E, T2, T3, T4, T5> withItem1<E>(
  1. E newItem
)

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

Implementation

Tuple5<E, T2, T3, T4, T5> withItem1<E>(E newItem) =>
    Tuple5(newItem, item2, item3, item4, item5);