notifySourceChanged method
Implementation
@override
void notifySourceChanged({bool clearOldData = false}) {
changeSource = true;
_streamSubscription?.cancel();
_streamSubscription = null;
if (clearOldData) {
_data = null;
}
notifyListeners();
}