update method
Updates data on the document. Data will be merged with any existing document data.
If no document exists yet, the update will fail silently.
Implementation
@override
Future<void> update({required DocumentId docId, required T value}) async {
await _addToBatch((batch) {
batch.update(collection.ref.doc(docId.docId), value.toJson());
});
}