resetPassword method
Implementation
@override
Future<AuthResult<void>> resetPassword({required String token, required String newPassword}) async {
try {
await _auth.confirmPasswordReset(code: token, newPassword: newPassword);
return const AuthResult.success(null);
} on fb.FirebaseAuthException catch (e) {
return AuthResult.failure(AuthException.fromFirebase(e));
}
}