DocumentChangePlatform class

A change to the documents matching a query.

It contains the document affected and the type of change that occurred (added, modified, or removed).

Inheritance
  • Object
  • PlatformInterface
  • DocumentChangePlatform

Constructors

DocumentChangePlatform(DocumentChangeType type, int oldIndex, int newIndex, DocumentSnapshotPlatform document)
Create a DocumentChangePlatform

Properties

document DocumentSnapshotPlatform
The document affected by this change.
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
newIndex → int
The index of the changed document in the result set immediately after this DocumentChange (i.e. supposing that all prior DocumentChangePlatform objects and the current DocumentChangePlatform object have been applied). [...]
final
oldIndex → int
The index of the changed document in the result set immediately prior to this DocumentChangePlatform (i.e. supposing that all prior DocumentChange objects have been applied). [...]
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
type DocumentChangeType
The type of change that occurred (added, modified, or removed).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

verifyExtends(DocumentChangePlatform instance) → dynamic
Throws an AssertionError if instance does not extend DocumentChangePlatform. [...]