oldIndex property

  1. @override
int oldIndex
override

The index of the changed document in the result set immediately prior to this DocumentChange (i.e. supposing that all prior DocumentChange objects have been applied).

-1 is returned for DocumentChangeType.added events.

Implementation

@override
int get oldIndex => (super.noSuchMethod(Invocation.getter(#oldIndex), returnValue: 0) as int);