sendPasswordResetLink method
- {required String email}
Sends a password reset link to the user associated with email.
Implementation
Future<AuthResultStatus> sendPasswordResetLink({
required String email,
}) async {
try {
await instance.sendPasswordResetEmail(email: email);
return AuthResultStatus.successful;
} on FirebaseAuthException catch (e) {
// Use AuthExeptionHandler to handle error codes
return handleExeption(e);
}
}