Willy Njundong
12/17/2019, 9:11 PMconst myObject = {
someKey: someValue,
someOtherKey: [{foo: "bar"}, {bar: "foo"}]
}
Casey Brooks
12/17/2019, 9:15 PMmapOf()
function:
val myObject = mapOf(
"someKey" to someValue,
"someOtherKey" to listOf(mapOf("foo" to "bar"), mapOf("bar" to "foo"))
)
Mike
12/17/2019, 10:17 PMdata class
of course.