mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-29 06:50:12 +08:00
feat: member cheese
feat: fav pugv Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -11,16 +11,16 @@ class Brief {
|
||||
}
|
||||
|
||||
class Img {
|
||||
num? aspectRatio;
|
||||
num aspectRatio;
|
||||
String? url;
|
||||
|
||||
Img({
|
||||
this.aspectRatio,
|
||||
required this.aspectRatio,
|
||||
this.url,
|
||||
});
|
||||
|
||||
factory Img.fromJson(Map<String, dynamic> json) => Img(
|
||||
aspectRatio: json['aspect_ratio'],
|
||||
aspectRatio: json['aspect_ratio'] ?? 1,
|
||||
url: json['url'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user