resendOtp method

VoResponse<SendOtpResponse> resendOtp(
  1. 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!);
    });