onUnsubscribed property Null safety

UnsubscribeCallback? onUnsubscribed

On unsubscribed

Implementation

UnsubscribeCallback? get onUnsubscribed => _onUnsubscribed;
void onUnsubscribed=(UnsubscribeCallback? cb)

Implementation

set onUnsubscribed(UnsubscribeCallback? cb) {
  _onUnsubscribed = cb;
  subscriptionsManager?.onUnsubscribed = cb;
}