setOTP method

void setOTP(
  1. String value
)

Implementation

void setOTP(String value) {
  _webController?.evaluateJavascript(
      source:
          "(function() { document.getElementById('otp').value =  '$value'; return 'success'; })();");
}