read

abstract suspend fun read(documentId: String): Document?(source)

Reads a document by its unique identifier.

Return

The document, or null if not found.

Parameters

documentId

The unique identifier of the document to read.