// ignore_for_file: invalid_annotation_target import 'package:freezed_annotation/freezed_annotation.dart'; import '../profile_data/profile_data.dart'; part 'profile_response.freezed.dart'; part 'profile_response.g.dart'; @freezed abstract class ProfileResponse with _$ProfileResponse { const factory ProfileResponse({ required String? message, required bool? success, required ProfileData? data, }) = _ProfileResponse; factory ProfileResponse.fromJson(Map json) => _$ProfileResponseFromJson(json); }