mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 02:26:52 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
29
lib/models/video_shot/data.dart
Normal file
29
lib/models/video_shot/data.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
class VideoShotData {
|
||||
String? pvdata;
|
||||
int? imgXLen;
|
||||
int? imgYLen;
|
||||
int? imgXSize;
|
||||
int? imgYSize;
|
||||
List<String>? image;
|
||||
List<int>? index;
|
||||
|
||||
VideoShotData({
|
||||
this.pvdata,
|
||||
this.imgXLen,
|
||||
this.imgYLen,
|
||||
this.imgXSize,
|
||||
this.imgYSize,
|
||||
this.image,
|
||||
this.index,
|
||||
});
|
||||
|
||||
factory VideoShotData.fromJson(Map<String, dynamic> json) => VideoShotData(
|
||||
pvdata: json["pvdata"],
|
||||
imgXLen: json["img_x_len"],
|
||||
imgYLen: json["img_y_len"],
|
||||
imgXSize: json["img_x_size"],
|
||||
imgYSize: json["img_y_size"],
|
||||
image: json["image"] == null ? null : List<String>.from(json["image"]),
|
||||
index: json["index"] == null ? null : List<int>.from(json["index"]),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user