sendResetPassword method
Implementation
Future<void> sendResetPassword({required String email}) async {
try {
await _firebaseAuth.sendPasswordResetEmail(
email: email,
);
} on FirebaseAuthException catch (e) {
throw SignUpWithEmailAndPasswordFailure.fromCode(e.code);
} catch (_) {
throw const SignUpWithEmailAndPasswordFailure();
}
}