refa: video model (#523)

This commit is contained in:
My-Responsitories
2025-03-25 10:12:44 +08:00
committed by GitHub
parent bf464994df
commit 7a6085e923
52 changed files with 761 additions and 1494 deletions

View File

@@ -60,47 +60,19 @@ class HisTabItem {
}
class HisListItem {
HisListItem({
this.title,
this.longTitle,
this.cover,
this.pic,
this.covers,
this.uri,
this.history,
this.videos,
this.authorName,
this.authorFace,
this.authorMid,
this.viewAt,
this.progress,
this.badge,
this.showTitle,
this.duration,
this.current,
this.total,
this.newDesc,
this.isFinish,
this.isFav,
this.kid,
this.tagName,
this.liveStatus,
this.checked,
});
String? title;
late String title;
String? longTitle;
String? cover;
String? pic;
List? covers;
String? uri;
History? history;
late History history;
int? videos;
String? authorName;
String? authorFace;
int? authorMid;
int? viewAt;
int? progress;
int progress = 0;
String? badge;
String? showTitle;
int? duration;
@@ -113,7 +85,7 @@ class HisListItem {
String? tagName;
int? liveStatus;
bool? checked;
void isFullScreen;
dynamic isFullScreen;
HisListItem.fromJson(Map<String, dynamic> json) {
title = json['title'];