sendOtpToMobile static method

dynamic sendOtpToMobile(
  1. String mobileNo
)

Implementation

static sendOtpToMobile(String mobileNo) async {
  String url = "${AppUrls.baseUrlVSMS}/subscriberv2/v1/subscriber";
  var body = {"mobileno": mobileNo, "otp": ""};
  final response = await _dio!.put(url, data: body);
  return response;
}