clearAllSubscriptions method

  1. @override
void clearAllSubscriptions()
override

Removes all existing subscriptions.

Implementation

@override
void clearAllSubscriptions() {
  _messengers.forEach((m) {
    m.close();
  });

  _subscriptions = List<Subscription>();
  _messengers = List<_Messenger>();
}