listenCollection method
Pass query
to monitor the collection.
When monitoring is started, StreamSubscription is passed, so keep it.
All retained StreamSubscription should be canceled when the object is destroyed or before executing this method again.
query
を渡してコレクションの監視を行います。
監視が開始された場合、StreamSubscriptionが渡されるので、それを保持しておいてください。
保持したStreamSubscriptionはオブジェクトの破棄時、または再度このメソッドを実行する前にすべてキャンセルしてください。
Implementation
@override
Future<List<StreamSubscription>> listenCollection(
ModelAdapterCollectionQuery query,
) {
_assert();
throw UnsupportedError("This adapter cannot listen.");
}