DocumentChange class

A Document has changed.

May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document. Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected.

Constructors

DocumentChange({Document? document, List<int>? removedTargetIds, List<int>? targetIds})
DocumentChange.fromJson(Map json_)

Properties

document Document?
The new state of the Document.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
removedTargetIds List<int>?
A set of target IDs for targets that no longer match this document.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetIds List<int>?
A set of target IDs of targets that match this document.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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