resetPassword abstract method
- @POST.new('/auth/reset')
- @Body.new() required ResetPasswordRequest body,
Reset password.
Complete the password reset flow using the token from the reset email. Returns authentication token after successful password reset.
body - Name not received - field will be skipped.
Implementation
@POST('/auth/reset')
Future<AuthLoginResponse> resetPassword({
@Body() required ResetPasswordRequest body,
});