ditto / live.ditto / DittoCollection / insert

insert

@JvmOverloads fun <T : Any> insert(value: T, id: DittoDocumentID? = null, isDefault: Boolean = false): DittoDocumentID

Inserts a new document into the collection and returns the document's ID.