profile dependencies added

This commit is contained in:
amirrezaghabeli
2025-08-17 09:46:33 +03:30
parent 3d0ca781bc
commit a00565cd4f
20 changed files with 1601 additions and 33 deletions
@@ -0,0 +1,20 @@
// 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<String, Object?> json) =>
_$ProfileResponseFromJson(json);
}