CorporateHealthcareSendOTP method
Future
CorporateHealthcareSendOTP({
- dynamic context,
- dynamic email,
- dynamic mobile,
- 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);
}