mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 08:38:18 +08:00
@@ -1,17 +1,9 @@
|
||||
class Cover {
|
||||
String? url;
|
||||
String? imgWh;
|
||||
int? height;
|
||||
int? width;
|
||||
dynamic size;
|
||||
|
||||
Cover({this.url, this.imgWh, this.height, this.width, this.size});
|
||||
Cover({this.url});
|
||||
|
||||
factory Cover.fromJson(Map<String, dynamic> json) => Cover(
|
||||
url: json['url'] as String?,
|
||||
imgWh: json['imgWH'] as String?,
|
||||
height: json['height'] as int?,
|
||||
width: json['width'] as int?,
|
||||
size: json['size'] as dynamic,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user