Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-24 18:07:08 +08:00
parent 68872f7b14
commit e9b5cffa91
18 changed files with 326 additions and 366 deletions

View File

@@ -2,6 +2,13 @@ class Dimension {
int? width;
int? height;
bool? get cacheWidth {
if (width != null && height != null) {
return width! <= height!;
}
return null;
}
Dimension({this.width, this.height});
factory Dimension.fromJson(Map<String, dynamic> json) => Dimension(