getSubscriptionController method

StreamController<SubscriptionMessage>? getSubscriptionController(
  1. String subscriptionId
)

Implementation

StreamController<SubscriptionMessage>? getSubscriptionController(
    String subscriptionId) {
  if (subscriptions.containsKey(subscriptionId)) {
    return subscriptions[subscriptionId]!;
  } else {
    return null;
  }
}