Map-backed properties

suggest change
val map = mapOf("foo" to 1)
val foo : String by map
println(foo)

The example prints 1

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Delegated properties:
*Map-backed properties

Table Of Contents