opt handle res

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-29 17:17:35 +08:00
parent b643cb1bd0
commit 924d51d41b
198 changed files with 3715 additions and 2001 deletions

View File

@@ -1,3 +1,5 @@
import 'package:PiliPlus/models/dynamics/result.dart';
class LiveItemModel {
LiveItemModel({
this.roomId,
@@ -19,9 +21,6 @@ class LiveItemModel {
this.sessionId,
this.groupId,
this.pkId,
this.verify,
this.headBox,
this.headBoxType,
this.watchedShow,
});
@@ -44,10 +43,7 @@ class LiveItemModel {
String? sessionId;
int? groupId;
int? pkId;
Map? verify;
Map? headBox;
int? headBoxType;
Map? watchedShow;
WatchedShow? watchedShow;
LiveItemModel.fromJson(Map<String, dynamic> json) {
roomId = json['roomid'];
@@ -69,9 +65,6 @@ class LiveItemModel {
sessionId = json['session_id'];
groupId = json['group_id'];
pkId = json['pk_id'];
verify = json['verify'];
headBox = json['head_box'];
headBoxType = json['head_box_type'];
watchedShow = json['watched_show'];
}
}