collection

fun collection(name: String): DittoCollection

Returns a DittoCollection with the provided name.

Return

a DittoCollection.

Parameters

name

the name of the collection.