resendOtp method
VoResponse<SendOtpResponse>
resendOtp(
- RefreshOtpPayload request
Implementation
VoResponse<SendOtpResponse> resendOtp(RefreshOtpPayload request) =>
execute(() async {
final response = await dio.post<Map<String, dynamic>>(
endpoints.resendOtp,
data: request.toJson()
);
return SendOtpResponse.fromJson(response.data!);
});