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