class AuthService { Future> login(String email, String password) async { // شبیه‌سازی API Call await Future.delayed(const Duration(seconds: 2)); if (email == 'test@example.com' && password == 'password123') { return {'token': 'xyz123', 'name': 'John Doe'}; } else { throw Exception('Invalid credentials'); } } }