sendPasswordResetEmail method
- String email
Implementation
Future<void> sendPasswordResetEmail(String email) async {
try {
resetEmailState = ResetEmailState.SENDING;
notifyListeners();
await sendPasswordResetEmailHandler(email);
resetEmailState = ResetEmailState.SENT;
notifyListeners();
} catch (err) {
print(err.toString());
resetEmailState = ResetEmailState.ERROR;
notifyListeners();
}
}