ditto / live.ditto / DittoMutableDocument / get

get

operator fun get(key: String): DittoMutableDocumentPath

Used to specify a path to a key in the document that you can subscript further to access a nested key in the document or perform an update operation on it immediately.

Parameters

key - the initial part of the path needed to get to the key in the document you wish to update.