checkVerificationOtp abstract method

  1. @POST.new("/email-otp/check-verification-otp")
Future<Result<SuccessResponse>> checkVerificationOtp({
  1. @BodyExtra.new("email") required String email,
  2. @BodyExtra.new("type") required String type,
  3. @BodyExtra.new("otp") required String otp,
})

Verifies an OTP without consuming it. type is one of email-verification, sign-in, forget-password, change-email.

Implementation

@POST("/email-otp/check-verification-otp")
Future<Result<SuccessResponse>> checkVerificationOtp({
  @BodyExtra("email") required String email,
  @BodyExtra("type") required String type,
  @BodyExtra("otp") required String otp,
});