update method
Create or update a document. In case of an update, fields not referenced in the payload will remain unchanged.
Implementation
Future<void> update(Map<String, dynamic> map) =>
_gateway.updateDocument(fullPath, _encodeMap(map), true);