sendOTP abstract method
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});