MutableArray

expect constructor()(source)

Construct a new empty Array object.


expect constructor(data: List<Any?>)(source)

Creates a new MutableArray with content from the passed List. Allowed value types are List, Instant, Map, Number, null, String, Array, Blob, and Dictionary. If present, Lists, Arrays, Maps and Dictionaries may contain only the above types.

Parameters

data

the array content list


expect constructor(json: String)(source)

Creates a new MutableArray with content from the passed JSON string.

Parameters

json

the array content as a JSON string.

actual constructor()(source)
actual constructor(data: List<Any?>)(source)
actual constructor(json: String)(source)
actual constructor()(source)
actual constructor(data: List<Any?>)(source)
actual constructor(json: String)(source)