network manager and di added
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user