withFirst<T> method
(T, T2, T3, T4, T5, T6, T7, T8)
withFirst<T>(
- T value
Returns a new tuple with the first element replaced by value
.
Implementation
(T, T2, T3, T4, T5, T6, T7, T8) withFirst<T>(T value) =>
(value, $2, $3, $4, $5, $6, $7, $8);