mod: invalid video style

This commit is contained in:
guozhigq
2024-11-19 23:22:33 +08:00
parent b8affcef05
commit 85ace29282
3 changed files with 55 additions and 8 deletions

View File

@ -19,6 +19,7 @@ class InvalidVideoModel {
final String? videoReview;
final String? favorites;
final String? tag;
final List<String>? tagList;
InvalidVideoModel({
this.id,
@ -41,6 +42,7 @@ class InvalidVideoModel {
this.videoReview,
this.favorites,
this.tag,
this.tagList,
});
factory InvalidVideoModel.fromJson(Map<String, dynamic> json) {
@ -65,6 +67,7 @@ class InvalidVideoModel {
videoReview: json['video_review'],
favorites: json['favorites'],
tag: json['tag'],
tagList: json['tag'].toString().split(',').toList(),
);
}
}