ditto / live.ditto / DittoCollection / insert

insert

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

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