dismissCaptcha method

void dismissCaptcha()

Implementation

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

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