getDocumentById method
- String documentId
Gets a document by its ID
Implementation
Future<Document> getDocumentById(String documentId) async {
return await _db.getDocument(
databaseId: databaseId,
collectionId: collectionId,
documentId: documentId,
);
}