confirmed method Null safety

void confirmed()

called by the Hotline connection dispatcher

Implementation

void confirmed() {
  state = HotlineSubscriptionRequestState.granted;

  final callback = onConfirmed;

  if(callback != null) {
    callback(this);
  }

  _state_controller.add(state);
}