CorporateHealthcareSendOTP method

Future CorporateHealthcareSendOTP({
  1. dynamic context,
  2. dynamic email,
  3. dynamic mobile,
  4. dynamic email_verified,
})

Implementation

Future CorporateHealthcareSendOTP(
    {context, email, mobile, email_verified}) async {
  final response = await http.post(
    Uri.parse(
        '${SDK_BASE_URL}claim_adminpanel/claim_api/package_registration/otp_generate'),
    body: {
      "email_id": '${email}',
      "mobile_no": '${mobile}',
      "email_verified": '${email_verified}'
    },
  );
  var decodedResponse = json.decode(response.body);
}