read

open suspend override fun read(documentId: String): Document?(source)

Reads a document by its unique identifier.

Return

The document associated with the given identifier, or null if no document is found.

Parameters

documentId

The unique identifier of the document to be read.