mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 11:22:16 +08:00
18 lines
406 B
Dart
18 lines
406 B
Dart
class Cover {
|
|
String? url;
|
|
String? imgWh;
|
|
int? height;
|
|
int? width;
|
|
dynamic size;
|
|
|
|
Cover({this.url, this.imgWh, this.height, this.width, this.size});
|
|
|
|
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,
|
|
);
|
|
}
|