import 'package:json_annotation/json_annotation.dart'; part 'epg_bean.g.dart'; /// @JsonSerializable(explicitToJson: true) class EpgBean { int? epgId; int? resType; String? resId; String? idName; String? imageUrl; int? imageResStyle; String? cornerIcon; String? title; String? subTitle; String? score; EpgBean( this.epgId, this.resType, this.resId, this.idName, this.imageUrl, this.imageResStyle, this.cornerIcon, this.title, this.subTitle, this.score); factory EpgBean.fromJson(Map json) => _$EpgBeanFromJson(json); Map toJson() => _$EpgBeanToJson(this); }