@User uploaded a file:
annoying code and commented: so, I have a data class and a
Native TransferObject (DTO except into native code?) And I find myself writing this kind of logic to make it easier to test and reason with. Any suggestions on how I can implement the
toNative
method more easily or otherwise refactor this?