onSubscribed property Null safety

SubscribeCallback? onSubscribed

On subscribed

Implementation

SubscribeCallback? get onSubscribed => _onSubscribed;
void onSubscribed=(SubscribeCallback? cb)

Implementation

set onSubscribed(SubscribeCallback? cb) {
  _onSubscribed = cb;
  subscriptionsManager?.onSubscribed = cb;
}