merge method

  1. @override
TDocumentChanges merge(
  1. covariant TDocumentChanges model
)
override

Merge this object with the given model. This method is used to merge the changes of a document.

Implementation

@override
TDocumentChanges merge(covariant TDocumentChanges model) {
  return copyWith(
    entryToUpdate: model.entryToUpdate,
    keyToDelete: model.keyToDelete,
  );
}