Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -57,37 +57,37 @@ class Arc {
});
factory Arc.fromJson(Map<String, dynamic> json) => Arc(
aid: json['aid'] as int?,
videos: json['videos'] as int?,
typeId: json['type_id'] as int?,
typeName: json['type_name'] as String?,
copyright: json['copyright'] as int?,
pic: json['pic'] as String?,
title: json['title'] as String?,
pubdate: json['pubdate'] as int?,
ctime: json['ctime'] as int?,
desc: json['desc'] as String?,
state: json['state'] as int?,
duration: json['duration'] as int?,
rights: json['rights'] == null
? null
: Rights.fromJson(json['rights'] as Map<String, dynamic>),
author: json['author'] == null
? null
: Owner.fromJson(json['author'] as Map<String, dynamic>),
stat: json['stat'] == null
? null
: Stat.fromJson(json['stat'] as Map<String, dynamic>),
dynam1c: json['dynamic'] as String?,
dimension: json['dimension'] == null
? null
: Dimension.fromJson(json['dimension'] as Map<String, dynamic>),
isChargeableSeason: json['is_chargeable_season'] as bool?,
isBlooper: json['is_blooper'] as bool?,
enableVt: json['enable_vt'] as int?,
vtDisplay: json['vt_display'] as String?,
typeIdV2: json['type_id_v2'] as int?,
typeNameV2: json['type_name_v2'] as String?,
isLessonVideo: json['is_lesson_video'] as int?,
);
aid: json['aid'] as int?,
videos: json['videos'] as int?,
typeId: json['type_id'] as int?,
typeName: json['type_name'] as String?,
copyright: json['copyright'] as int?,
pic: json['pic'] as String?,
title: json['title'] as String?,
pubdate: json['pubdate'] as int?,
ctime: json['ctime'] as int?,
desc: json['desc'] as String?,
state: json['state'] as int?,
duration: json['duration'] as int?,
rights: json['rights'] == null
? null
: Rights.fromJson(json['rights'] as Map<String, dynamic>),
author: json['author'] == null
? null
: Owner.fromJson(json['author'] as Map<String, dynamic>),
stat: json['stat'] == null
? null
: Stat.fromJson(json['stat'] as Map<String, dynamic>),
dynam1c: json['dynamic'] as String?,
dimension: json['dimension'] == null
? null
: Dimension.fromJson(json['dimension'] as Map<String, dynamic>),
isChargeableSeason: json['is_chargeable_season'] as bool?,
isBlooper: json['is_blooper'] as bool?,
enableVt: json['enable_vt'] as int?,
vtDisplay: json['vt_display'] as String?,
typeIdV2: json['type_id_v2'] as int?,
typeNameV2: json['type_name_v2'] as String?,
isLessonVideo: json['is_lesson_video'] as int?,
);
}