import 'package:freezed_annotation/freezed_annotation.dart'; part 'server_problem.freezed.dart'; part 'server_problem.g.dart'; @freezed abstract class ServerProblem with _$ServerProblem { const factory ServerProblem({ required String id, required String title, required String location, String? censorTaskId, String? rowId, String? bindData, List? imageUrls, required DateTime creationTime, required String creatorId, DateTime? lastModificationTime, String? lastModifierId, }) = _ServerProblem; factory ServerProblem.fromJson(Map json) => _$ServerProblemFromJson(json); }