withFirst<T> method
(T, T2, T3)
withFirst<T>(
- T value
Returns a new tuple with the first element replaced by value
.
Implementation
(T, T2, T3) withFirst<T>(T value) => (value, $2, $3);
Returns a new tuple with the first element replaced by value
.
(T, T2, T3) withFirst<T>(T value) => (value, $2, $3);