invoke<S extends Subscription> static method

void invoke<S extends Subscription>({
  1. dynamic data,
})

Implementation

static void invoke<S extends Subscription>({dynamic data}) {
  for (dynamic subscription in _subscriptions.values) {
    if (subscription.runtimeType == S) {
      _waitForContext(subscription, data);
    }
  }
}