setValue

expect fun setValue(key: String, value: Any?): MutableDocument(source)

Set an object value by key. Allowed value types are List, Date, Map, Number, null, String, Array, Blob, and Dictionary. If present, Lists, Maps and Dictionaries may contain only the above types. A Date object will be converted to an ISO-8601 format string.

Return

this Document instance

Parameters

key

the key.

value

the Object value.

actual fun setValue(key: String, value: Any?): MutableDocument(source)
actual fun setValue(key: String, value: Any?): MutableDocument(source)