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 ref.doc(docId.docId).update(value.toJson());
return;
}