mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
@@ -1,13 +1,11 @@
|
||||
class SearchTrendingItemModel {
|
||||
String? keyword;
|
||||
String? showName;
|
||||
String? icon;
|
||||
bool? showLiveIcon;
|
||||
String? recommendReason;
|
||||
|
||||
SearchTrendingItemModel({
|
||||
this.keyword,
|
||||
this.showName,
|
||||
this.icon,
|
||||
this.showLiveIcon,
|
||||
this.recommendReason,
|
||||
@@ -16,7 +14,6 @@ class SearchTrendingItemModel {
|
||||
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?,
|
||||
recommendReason: (json['recommend_reason'] as String?)?.replaceFirst(
|
||||
|
||||
Reference in New Issue
Block a user