E.g. if you want to mutate existing instance could...
# getting-started
o
E.g. if you want to mutate existing instance could be this:
Copy code
class Summary(var name: String, var access: Int)
class X {
    private val summary = Summary("name", 22)
    val complexProperty: Summary get() {
        summary.access++
        return summary
    }
}