DittoDocumentID(value: Any)
Creates a new DittoDocumentID.
A document ID can be created from any of the following:
Note that you cannot use floats or other custom types to create a document ID.
Document IDs are also limited in size, based on their serialized representation, to 256 bytes. You will receive an error if you try to create a document ID that exceeds the size limit.
value
- the value that represents the document identifier.
Return
a DittoDocumentID that uniquely identifies a DittoDocument.