a
-.kt
g
add setter and backing field
or just initilize default Foo
p
Maybe you need just
val
property in this case?
Copy code
private val foo get() = Foo(thisValueChangesOnRuntime)