fix: 番剧动态取值null
This commit is contained in:
@ -493,7 +493,7 @@ class DynamicArchiveModel {
|
|||||||
DynamicArchiveModel.fromJson(Map<String, dynamic> json) {
|
DynamicArchiveModel.fromJson(Map<String, dynamic> json) {
|
||||||
aid = json['aid'] is String ? int.parse(json['aid']) : json['aid'];
|
aid = json['aid'] is String ? int.parse(json['aid']) : json['aid'];
|
||||||
badge = json['badge'];
|
badge = json['badge'];
|
||||||
bvid = json['bvid'];
|
bvid = json['bvid'] ?? json['epid'].toString() ?? ' ';
|
||||||
cover = json['cover'];
|
cover = json['cover'];
|
||||||
disablePreview = json['disable_preview'];
|
disablePreview = json['disable_preview'];
|
||||||
durationText = json['duration_text'];
|
durationText = json['duration_text'];
|
||||||
|
|||||||
Reference in New Issue
Block a user