ditto-lib / live.ditto / DittoCollection / insert

insert

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

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