docChanges method
Non-null list of the documents that changed since the last snapshot. If this is the first snapshot, all documents will be in the list as added changes.
Implementation
// TODO: [SnapshotOptions options]
List<DocumentChange> docChanges() => jsObject
.docChanges()
// explicitly typing the param as dynamic to work-around
// https://github.com/dart-lang/sdk/issues/33537
// ignore: unnecessary_lambdas
.map((dynamic e) => DocumentChange.getInstance(e))
.toList();