import 'package:freezed_annotation/freezed_annotation.dart'; import 'package:real_estate_mobile/features/auth/data/models/user_model.dart'; part 'auth_response.freezed.dart'; part 'auth_response.g.dart'; @freezed abstract class AuthResponse with _$AuthResponse { const factory AuthResponse({ required UserModel user, required String accessToken, required String refreshToken, }) = _AuthResponse; factory AuthResponse.fromJson(Map json) => _$AuthResponseFromJson(json); }