ditto / live.ditto / DittoStore / collection

collection

fun collection(name: String): DittoCollection

Returns a DittoCollection with the provided name.

Parameters

name - the name of the collection.

Return
a DittoCollection.