login method
Implementation
Future<void> login(String email, String password) async {
try {
errorMessage.value = null;
isLoading.value = true;
await _loginUseCase(email, password);
// Navigate on success (e.g. Get.offAllNamed(Routes.home))
} catch (e) {
errorMessage.value = e.toString();
rethrow;
} finally {
isLoading.value = false;
}
}