mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 17:16:29 +08:00
22 lines
571 B
Dart
22 lines
571 B
Dart
import 'package:PiliPlus/models_new/media_list/dimension.dart';
|
|
|
|
class OgvInfo {
|
|
int? epid;
|
|
int? seasonId;
|
|
int? aid;
|
|
int? cid;
|
|
Dimension? dimension;
|
|
|
|
OgvInfo({this.epid, this.seasonId, this.aid, this.cid, this.dimension});
|
|
|
|
factory OgvInfo.fromJson(Map<String, dynamic> json) => OgvInfo(
|
|
epid: json['epid'] as int?,
|
|
seasonId: json['season_id'] as int?,
|
|
aid: json['aid'] as int?,
|
|
cid: json['cid'] as int?,
|
|
dimension: json['dimension'] == null
|
|
? null
|
|
: Dimension.fromJson(json['dimension'] as Map<String, dynamic>),
|
|
);
|
|
}
|