mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-29 20:48:40 +00:00
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user