notifyDocumentChanges method
Ensure that the collection is notified of changes to internal documents.
内部のドキュメントの変更をコレクションに通知するようにします。
Implementation
CollectionModelQuery notifyDocumentChanges() {
return _copyWithAddingFilter(filters: [
...filters
.where((e) => e.type != ModelQueryFilterType.notifyDocumentChanges),
const ModelQueryFilter._(
type: ModelQueryFilterType.notifyDocumentChanges,
)
]);
}