register static method

void register(
  1. Subscription subscription
)

Implementation

static void register(Subscription subscription) async {
  _subscriptions[subscription.runtimeType.toString()] = subscription;
}