Files
PiliPlus/lib/models_new/search/search_trending/list.dart
bggRGjQaUbCoE b960359a39 opt models
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-06-05 14:44:56 +08:00

22 lines
522 B
Dart

class SearchTrendingItemModel {
String? keyword;
String? showName;
String? icon;
bool? showLiveIcon;
SearchTrendingItemModel({
this.keyword,
this.showName,
this.icon,
this.showLiveIcon,
});
factory SearchTrendingItemModel.fromJson(Map<String, dynamic> json) =>
SearchTrendingItemModel(
keyword: json['keyword'] as String?,
showName: json['show_name'] as String?,
icon: json['icon'] as String?,
showLiveIcon: json['show_live_icon'] as bool?,
);
}