// data/action_effect_dto.dart import 'package:json_annotation/json_annotation.dart'; part 'action_effect.g.dart'; @JsonSerializable() class ActionEffectDTO { final String action; final String effect; const ActionEffectDTO({ required this.action, required this.effect, }); factory ActionEffectDTO.fromJson(Map json) => _$ActionEffectDTOFromJson(json); Map toJson() => _$ActionEffectDTOToJson(this); }