Check out example codes for "make map kotlin". It will help you in understanding the concepts better.

Code Example 1

val map = mapOf(1 to "x", 2 to "y", -1 to "zz")

Learn ReactJs, React Native from akashmittal.com