updateDocument method Null safety
Update document.
Returns a Map containing the updated document information from the
params to update to the document with documentId.
Implementation
Future<Map<String, dynamic>> updateDocument(
String documentId, Map<String, dynamic> params) {
return request(HTTPMethod.put, 'documents/$documentId', body: params);
}