notifySourceChanged method

  1. @mustCallSuper
void notifySourceChanged()
  • cancels the stream and resubscribes to the stream to get the new data

Implementation

@mustCallSuper
void notifySourceChanged() {
  disposeStream();
  _listenToStream();
}