pauseAll method Null safety

void pauseAll()

Pause all StreamSubscriptions of the list

For example:

subxMap.pauseAll();

Implementation

void pauseAll() {
  _subscriptionMap.forEach((_, StreamSubscription<dynamic> subscription) {
    subscription.pause();
  });
}