loadDocument

abstract fun loadDocument(documentId: String): Result<Document>

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