class NewEp { String? cover; String? indexShow; NewEp({this.cover, this.indexShow}); factory NewEp.fromJson(Map json) => NewEp( cover: json['cover'] as String?, indexShow: json['index_show'] as String?, ); Map toJson() => { 'cover': cover, 'index_show': indexShow, }; }