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
@@ -6,7 +6,8 @@ import '../services/auth_service.dart';
class AuthRepository {
final AuthService _authService;
AuthRepository(this._authService);
AuthRepository({required AuthService authService})
: _authService = authService;
Future<Result<UserModel>> login(String email, String password) async {
try {