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