TDocumentChanges class

The document changes model. This is the base class for all document changes models. It is used to notify the UI of changes in the document.

Inheritance
  • Object
  • TModel
  • TDocumentChanges

Constructors

TDocumentChanges({required Map<String, dynamic> entryToUpdate, required Iterable<String> keyToDelete})
const

Properties

entryToUpdate → Map<String, dynamic>
The entries to update.
final
hashCode → int
The hash code for this object.
no setterinherited
keyToDelete → Iterable<String>
The keys to delete.
final
props → List<Object>
Gets the properties of this object. This getter is used to compare objects.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

assignValue<T>(T? value, {T? defaultValue, bool loose = true}) → T?
inherited
clone() → TDocumentChanges
Clone this object.
override
copyWith({Map<String, dynamic>? entryToUpdate, Iterable<String>? keyToDelete}) → TDocumentChanges
Copy this object with the given parameters.
override
copyWithDefaults() → TModel
inherited
merge(covariant TDocumentChanges model) → TDocumentChanges
Merge this object with the given model. This method is used to merge the changes of a document.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited