Files
tm_app/lib/data/services/model/profile_response/profile_response.dart
T
2025-08-17 09:46:33 +03:30

21 lines
546 B
Dart

// 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);
}