sindrenm
11/28/2016, 12:08 PMconst
modifier, @elect. val
makes it a constant value anyway, and mapOf
makes an immutable map. const
makes it a compile-time constant – which can only be Strings or primitives – but having a val map
is all you need. simple smile
https://kotlinlang.org/docs/reference/properties.html#compile-time-constants