newIndex property
The index of the changed document in the result set immediately after this
DocumentChange
(i.e. supposing that all prior DocumentChange
objects
and the current DocumentChange
object have been applied).
-1 is returned for DocumentChangeType.removed
events.
Implementation
@override
int get newIndex => (super.noSuchMethod(Invocation.getter(#newIndex), returnValue: 0) as int);