loadDocument

abstract fun loadDocument(documentId: String): Document?

Load a document by its ID. This is an IO operation and is not recommended to execute in the UI thread.