cancelSubscriptions method

void cancelSubscriptions()

Cancels all streams that were previously added with listen().

Implementation

void cancelSubscriptions() {
  for (final subscription in _subscriptions) {
    subscription.cancel();
  }
}