mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 00:26:18 +08:00
14 lines
294 B
Dart
14 lines
294 B
Dart
class Cover {
|
|
String? url;
|
|
int? width;
|
|
int? height;
|
|
|
|
Cover({this.url, this.width, this.height});
|
|
|
|
factory Cover.fromJson(Map<String, dynamic> json) => Cover(
|
|
url: json['url'] as String?,
|
|
width: json['width'] as int?,
|
|
height: json['height'] as int?,
|
|
);
|
|
}
|