mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 01:27:49 +08:00
@@ -17,12 +17,8 @@ class FavFolderInfo {
|
||||
int? favState;
|
||||
int mediaCount;
|
||||
int? viewCount;
|
||||
int? vt;
|
||||
bool? isTop;
|
||||
dynamic recentFav;
|
||||
int? playSwitch;
|
||||
int? type;
|
||||
String? link;
|
||||
String? bvid;
|
||||
|
||||
FavFolderInfo({
|
||||
@@ -42,12 +38,8 @@ class FavFolderInfo {
|
||||
this.favState,
|
||||
this.mediaCount = 0,
|
||||
this.viewCount,
|
||||
this.vt,
|
||||
this.isTop,
|
||||
this.recentFav,
|
||||
this.playSwitch,
|
||||
this.type,
|
||||
this.link,
|
||||
this.bvid,
|
||||
});
|
||||
|
||||
@@ -70,12 +62,8 @@ class FavFolderInfo {
|
||||
favState: json['fav_state'] as int?,
|
||||
mediaCount: json['media_count'] as int? ?? 0,
|
||||
viewCount: json['view_count'] as int?,
|
||||
vt: json['vt'] as int?,
|
||||
isTop: json['is_top'] as bool?,
|
||||
recentFav: json['recent_fav'] as dynamic,
|
||||
playSwitch: json['play_switch'] as int?,
|
||||
type: json['type'] as int?,
|
||||
link: json['link'] as String?,
|
||||
bvid: json['bvid'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
class Dimension {
|
||||
int? width;
|
||||
int? height;
|
||||
int? rotate;
|
||||
|
||||
Dimension({this.width, this.height, this.rotate});
|
||||
|
||||
factory Dimension.fromJson(Map<String, dynamic> json) => Dimension(
|
||||
width: json['width'] as int?,
|
||||
height: json['height'] as int?,
|
||||
rotate: json['rotate'] as int?,
|
||||
);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'package:PiliPlus/models_new/media_list/dimension.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/dimension.dart';
|
||||
|
||||
class OgvInfo {
|
||||
int? epid;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'package:PiliPlus/models_new/media_list/dimension.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/dimension.dart';
|
||||
|
||||
class Page {
|
||||
int? id;
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
class Dimension {
|
||||
int? height;
|
||||
int? rotate;
|
||||
int? width;
|
||||
|
||||
Dimension({this.height, this.rotate, this.width});
|
||||
|
||||
factory Dimension.fromJson(Map<String, dynamic> json) => Dimension(
|
||||
height: json['height'] as int?,
|
||||
rotate: json['rotate'] as int?,
|
||||
width: json['width'] as int?,
|
||||
);
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'package:PiliPlus/models_new/pgc/pgc_info_model/badge_info.dart';
|
||||
import 'package:PiliPlus/models_new/pgc/pgc_info_model/dimension.dart';
|
||||
import 'package:PiliPlus/models_new/pgc/pgc_info_model/rights.dart';
|
||||
import 'package:PiliPlus/models_new/pgc/pgc_info_model/skip.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/dimension.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/episode.dart'
|
||||
show BaseEpisodeItem;
|
||||
|
||||
|
||||
@@ -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