update abstract method

Future<void> update(
  1. Map<Object, Object?> data
)

Updates data on the document. Data will be merged with any existing document data.

Objects key can be a String or a FieldPath.

If no document exists yet, the update will fail.

Implementation

Future<void> update(Map<Object, Object?> data);