docChanges property
Returns a list of the documents changes since the last snapshot.
If this is the first snapshot, all documents will be in the list as added changes.
Implementation
late final List<DocumentChange<T>> docChanges = [
for (final (index, doc) in docs.indexed)
DocumentChange<T>._(
type: DocumentChangeType.added,
oldIndex: -1,
newIndex: index,
doc: doc,
),
];