set method

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

Create or update a document. In the case of an update, any fields not referenced in the payload will be deleted.

Implementation

Future<void> set(Map<String, dynamic> map) async =>
    _gateway.updateDocument(fullPath, _encodeMap(map), false);