cancelAllSingletonSubscriptions method

void cancelAllSingletonSubscriptions()

Cancels all StreamSubscription of singleton listeners.

Implementation

void cancelAllSingletonSubscriptions() {
  for (var signature in _listenSignatures) {
    signature.cancel();
  }
  _listenSignatures.clear();
}