update method

Future<void> update (
  1. Map<String, dynamic> map
)

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);