network manager and di added

This commit is contained in:
amirrezaghabeli
2025-08-05 09:45:24 +03:30
parent c363e104a7
commit 09e21a1cc7
11 changed files with 409 additions and 84 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ import '../data/repositories/auth_repository.dart';
class AuthViewModel with ChangeNotifier {
final AuthRepository _authRepository;
AuthViewModel(this._authRepository);
AuthViewModel({required AuthRepository authRepository})
: _authRepository = authRepository;
bool _isLoading = false;
String? _errorMessage;