sendPasswordResetEmail method
Sends a password reset email to the provided email.
Implementation
Future<void> sendPasswordResetEmail(String email) async {
try {
await _authDataService.sendPasswordResetEmail(email);
} catch (e) {
if (e is RdevException) {
throw AuthServiceException(
code: e.code,
message: e.message,
stackTrace: e.stackTrace,
);
}
throw AuthServiceException(
stackTrace: StackTrace.current,
message: e.toString(),
);
}
}