disposeStream method
- called when the bloc is
disposed
or whennotifySourceChanged
is called
Implementation
@visibleForTesting
void disposeStream() {
dataStreamSubscription?.cancel();
dataStreamSubscription = null;
}
disposed
or when notifySourceChanged
is called@visibleForTesting
void disposeStream() {
dataStreamSubscription?.cancel();
dataStreamSubscription = null;
}