withSecond<T> method

(T1, T, T3, T4, T5, T6, T7, T8, T9) withSecond<T>(
  1. T value
)

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

Implementation

(T1, T, T3, T4, T5, T6, T7, T8, T9) withSecond<T>(T value) =>
    ($1, value, $3, $4, $5, $6, $7, $8, $9);