whats the easiest way to call a copy constructor o...
# reflect
c
whats the easiest way to call a copy constructor of a data class via reflection?
1
r
I never found a super-simple way to do it, but I've encapsulated all the complexity of it inside this library: https://github.com/rocketraman/kpropmap -- check out the
applyProps
method.