clickSendOtp method

void clickSendOtp()

Implementation

void clickSendOtp() {
  Get.focusScope?.unfocus();
  if (!AadhaarNumberValidator.validateAadhaarNumber(aadhaarController.text)) {
    showToast(
        "Invalid aadhaar Number. Please provide the valid aadhaar Number.");
    return;
  } else if (captchaController.text.length < 3) {
    showToast("Invalid Captcha, please enter the captcha again.");
    return;
  }
  showLoader.value = true;
  _webController?.evaluateJavascript(
      source: "document.getElementById('submit-btn').click();");
  checkForCaptchaError();
}