Join Slack
Powered by
Is there a way to change the getter or setter impl...
# getting-started
e
eric
11/10/2015, 2:18 AM
Is there a way to change the getter or setter implementation in a data class? If, for some reason, I wanted
Copy code
data class Person(val name: String) { fun getName() = "Bob" }
2
Views
Open in Slack
Previous
Next