resetPassword method
Implementation
Future<void> resetPassword(String email) async {
_isLoading = true;
_error = null;
notifyListeners();
try {
await _authService.resetPassword(email);
_isLoading = false;
notifyListeners();
} catch (e) {
_error = e.toString();
_isLoading = false;
notifyListeners();
}
}