mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-26 11:08:44 +00:00
@@ -1,5 +1,5 @@
|
||||
import 'package:PiliPlus/models/model_owner.dart';
|
||||
import 'package:PiliPlus/models/model_video.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/dimension.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/rights.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/stat.dart';
|
||||
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
class Dimension {
|
||||
int? width;
|
||||
int? height;
|
||||
int? rotate;
|
||||
|
||||
Dimension({this.width, this.height, this.rotate});
|
||||
Dimension({this.width, this.height});
|
||||
|
||||
factory Dimension.fromJson(Map<String, dynamic> json) => Dimension(
|
||||
width: json['width'] as int?,
|
||||
height: json['height'] as int?,
|
||||
rotate: json['rotate'] as int?,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ class Part extends BaseEpisodeItem {
|
||||
String? part;
|
||||
int? duration;
|
||||
String? vid;
|
||||
String? weblink;
|
||||
Dimension? dimension;
|
||||
int? ctime;
|
||||
String? firstFrame;
|
||||
@@ -19,7 +18,6 @@ class Part extends BaseEpisodeItem {
|
||||
this.part,
|
||||
this.duration,
|
||||
this.vid,
|
||||
this.weblink,
|
||||
this.dimension,
|
||||
this.ctime,
|
||||
this.firstFrame,
|
||||
@@ -33,7 +31,6 @@ class Part extends BaseEpisodeItem {
|
||||
part: json['part'] as String?,
|
||||
duration: json['duration'] as int?,
|
||||
vid: json['vid'] as String?,
|
||||
weblink: json['weblink'] as String?,
|
||||
dimension: json['dimension'] == null
|
||||
? null
|
||||
: Dimension.fromJson(json['dimension'] as Map<String, dynamic>),
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
class Dimension {
|
||||
int? width;
|
||||
int? height;
|
||||
int? rotate;
|
||||
String? sar;
|
||||
|
||||
Dimension({this.width, this.height, this.rotate, this.sar});
|
||||
|
||||
factory Dimension.fromJson(Map<String, dynamic> json) => Dimension(
|
||||
width: json['width'] as int?,
|
||||
height: json['height'] as int?,
|
||||
rotate: json['rotate'] as int?,
|
||||
sar: json['sar'] as String?,
|
||||
);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'package:PiliPlus/models_new/video/video_stein_edgeinfo/dimension.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/dimension.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_stein_edgeinfo/question.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_stein_edgeinfo/skin.dart';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user