However, it may be better to just stick with your ...
# getting-started
r
However, it may be better to just stick with your
buildFrom
method, as the logic here is more complicated than you would expect for a data class constructor. Depending on what you're doing, the explicit call may be preferred.