withFirst<T> method

Tuple3<T, T2, T3> withFirst<T>(
  1. T value
)

Returns a new tuple with the first element replaced by value.

Implementation

Tuple3<T, T2, T3> withFirst<T>(T value) => Tuple3(value, second, third);