mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-04 09:09:48 +08:00
21
lib/models_new/media_list/ogv_info.dart
Normal file
21
lib/models_new/media_list/ogv_info.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
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>),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user