getDocumentById method Null safety
- String documentId
Get document by id.
Returns a Map
containing the document information with the documentId
.
Implementation
Future<Map<String, dynamic>> getDocumentById(String documentId) {
return request(HTTPMethod.get, 'documents/$documentId');
}