class HotSearchModel { HotSearchModel({ this.list, }); List? list; HotSearchModel.fromJson(Map json) { list = json['list'] .map((e) => HotSearchItem.fromJson(e)) .toList(); } } class HotSearchItem { HotSearchItem({ this.keyword, this.showName, this.wordType, this.icon, }); String? keyword; String? showName; // 4/5热 11话题 8普通 7直播 int? wordType; String? icon; HotSearchItem.fromJson(Map json) { keyword = json['keyword']; showName = json['show_name']; wordType = json['word_type']; icon = json['icon']; } }