Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-16 14:22:47 +08:00
parent 13818533a7
commit 0baf3fcd36
283 changed files with 803 additions and 1550 deletions

View File

@@ -7,9 +7,6 @@ class LiveSearchData {
int? pagesize;
Room? room;
User? user;
String? trackId;
String? abtestId;
String? query;
LiveSearchData({
this.type,
@@ -17,9 +14,6 @@ class LiveSearchData {
this.pagesize,
this.room,
this.user,
this.trackId,
this.abtestId,
this.query,
});
factory LiveSearchData.fromJson(Map<String, dynamic> json) => LiveSearchData(
@@ -32,8 +26,5 @@ class LiveSearchData {
user: json['user'] == null
? null
: User.fromJson(json['user'] as Map<String, dynamic>),
trackId: json['track_id'] as String?,
abtestId: json['abtest_id'] as String?,
query: json['query'] as String?,
);
}

View File

@@ -6,8 +6,6 @@ class LiveSearchRoomItemModel {
String? title;
String? name;
String? face;
int? online;
String? link;
WatchedShow? watchedShow;
LiveSearchRoomItemModel({
@@ -16,8 +14,6 @@ class LiveSearchRoomItemModel {
this.title,
this.name,
this.face,
this.online,
this.link,
this.watchedShow,
});
@@ -28,8 +24,6 @@ class LiveSearchRoomItemModel {
title: json['title'] as String?,
name: json['name'] as String?,
face: json['face'] as String?,
online: json['online'] as int?,
link: json['link'] as String?,
watchedShow: json['watched_show'] == null
? null
: WatchedShow.fromJson(

View File

@@ -5,7 +5,6 @@ class LiveSearchUserItemModel {
String? areaName;
int? fansNum;
int? roomid;
String? link;
LiveSearchUserItemModel({
this.face,
@@ -14,7 +13,6 @@ class LiveSearchUserItemModel {
this.areaName,
this.fansNum,
this.roomid,
this.link,
});
factory LiveSearchUserItemModel.fromJson(Map<String, dynamic> json) =>
@@ -25,6 +23,5 @@ class LiveSearchUserItemModel {
areaName: json['areaName'] as String?,
fansNum: json['fansNum'] as int?,
roomid: json['roomid'] as int?,
link: json['link'] as String?,
);
}