withNinth<T> method

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

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

Implementation

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