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