Kotlin Delegated properties Map-backed properties


Example

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

The example prints 1