dismissCaptcha method

void dismissCaptcha()

Implementation

void dismissCaptcha() {
  DataDomeLogger.info('Dismissing the captcha');

  if(onCaptchaDismiss != null) {
    onCaptchaDismiss!();
  } else if(CaptchaPage.isDisplayed) {
    Navigator.pop(dialogContext);
  }
  CaptchaPage.isDisplayed = false;
}