dispose method
Implementation
@override
void dispose() {
final Subscription<T>? subscription = _subscription;
if (subscription != null) {
LiveQuery().client.unSubscribe(subscription);
_subscription = null;
}
super.dispose();
}
@override
void dispose() {
final Subscription<T>? subscription = _subscription;
if (subscription != null) {
LiveQuery().client.unSubscribe(subscription);
_subscription = null;
}
super.dispose();
}