deregistrationFailed method

  1. @override
void deregistrationFailed(
  1. ErrorInfoData errorInfoData
)
override

Implementation

@override
void deregistrationFailed(ErrorInfoData errorInfoData) {
  final exception = ErrorInfo(
      errorInfoData.code ?? 0, errorInfoData.message, errorInfoData.status);

  _onNotificationDeregisteredCtrl
      .add(NotificationRegistrationEvent(false, exception));
}