setData

expect fun setData(data: Map<String, Any?>): MutableDocument(source)

Populate a document with content from a Map. 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. Setting the document content will replace the current data including the existing Array and Dictionary objects.

Return

this Document instance

Parameters

data

the dictionary object.

actual fun setData(data: Map<String, Any?>): MutableDocument(source)
actual fun setData(data: Map<String, Any?>): MutableDocument(source)