This is the easiest method I have found to get a map from a text string. Kotlin map is a collection which contains pairs of objects. Map holds the data in the form of pairs which consists of a key and a value. Map keys are unique and the map holds only one value for each key. Kotlin distinguishes between immutable and mutable maps. Immutable map…
-
Updated
Feb 10, 2022 - Kotlin