requestPasswordForPay method

dynamic requestPasswordForPay()

Implementation

requestPasswordForPay() async {
  BootpayPrint("requestPasswordForPay call");

  // showWebView();
  if(!await isAblePasswordToken()) {
    BootpayPrint(2);
    c.requestType.value = BioConstants.REQUEST_PASSWORD_TOKEN_FOR_PASSWORD_FOR_PAY;
    showWebView();
    return;
  }

  c.requestType.value = BioConstants.REQUEST_PASSWORD_FOR_PAY;
  // showWebView();

  if(isShowWebView == true) {
    widget.webView?.requestPasswordForPay();
  } else {
    showWebView();
  }
}