read

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

Reads a document associated with the given document ID and returns it.

Return

The document associated with the provided document ID, or null if no document is found.

Parameters

documentId

The unique identifier for the document to be read.