Created
March 24, 2020 19:06
-
-
Save gugacavalieri/ccaf106bacd9e01bc6335772af6ccf27 to your computer and use it in GitHub Desktop.
Kotlin Data Class with Interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class HelloVO (val property: String) { | |
interface IHello { | |
fun `say hello`() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment