cancel method

void cancel()

Cancels all the StreamSubscription objects in the list managed by this SubSink.

Implementation

void cancel() {
  _subs.forEach((it) => it.cancel());
  _subs.clear();
}