is it possible to copy object (singleton) to data object in kotlin?

前端 未结 0 844
时光说笑
时光说笑 2021-01-23 11:58

I have an object and data class which are implementing the same interface. Is it possible to copy object properties into data class ?

with this declarations:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题