fix: videoDetail cover null

This commit is contained in:
guozhigq
2024-04-29 13:16:25 +08:00
parent 3e95479248
commit 0bb26aa467
2 changed files with 3 additions and 3 deletions

View File

@ -412,8 +412,8 @@ class Part {
dimension = json["dimension"] == null
? null
: Dimension.fromJson(json["dimension"]);
firstFrame = json["first_frame"];
cover = json["first_frame"];
firstFrame = json["first_frame"] ?? '';
cover = json["first_frame"] ?? '';
}
Map<String, dynamic> toJson() {