disposeCollection method
The associated collection is discarded by passing query
.
It should always be performed when destroying a collection.
query
を渡すことで関連したコレクションの破棄処理を行います。
コレクションの破棄時にはかならず実行してください。
Implementation
@override
void disposeCollection(ModelAdapterCollectionQuery query) {
_assert();
cachedRuntimeDatabase.removeCollectionListener(query, prefix: prefix);
}