sendOTP abstract method

Future<RequestResponse<SendOTPResponse?>> sendOTP(
  1. String mobileNo, {
  2. bool? newOTP,
})

Sends a request to the backend with the mobile number. The response is a SendOTPResponse.

If newOTP is true, a previously sent OTP, won't be used. Instead a fresh one will be generated.

Implementation

Future<RequestResponse<SendOTPResponse?>> sendOTP(String mobileNo,
    {bool? newOTP});