copyWith method

  1. @override
TDocumentChanges copyWith({
  1. Map<String, dynamic>? entryToUpdate,
  2. Iterable<String>? keyToDelete,
})
override

Copy this object with the given parameters.

Implementation

@override
TDocumentChanges copyWith({
  Map<String, dynamic>? entryToUpdate,
  Iterable<String>? keyToDelete,
}) {
  return TDocumentChanges(
    entryToUpdate: entryToUpdate ?? this.entryToUpdate,
    keyToDelete: keyToDelete ?? this.keyToDelete,
  );
}