resetPassword abstract method

  1. @POST.new("/email-otp/reset-password")
Future<Result<SuccessResponse>> resetPassword({
  1. @BodyExtra.new("email") required String email,
  2. @BodyExtra.new("otp") required String otp,
  3. @BodyExtra.new("password") required String password,
})

Implementation

@POST("/email-otp/reset-password")
Future<Result<SuccessResponse>> resetPassword({
  @BodyExtra("email") required String email,
  @BodyExtra("otp") required String otp,
  @BodyExtra("password") required String password,
});