forgotPassword method
Implementation
@override
Future<AuthResult<void>> forgotPassword(String email) async {
try {
await _auth.sendPasswordResetEmail(email: email);
return const AuthResult.success(null);
} on fb.FirebaseAuthException catch (e) {
return AuthResult.failure(AuthException.fromFirebase(e));
}
}