mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
17 lines
325 B
Dart
17 lines
325 B
Dart
class SizeSpec {
|
|
num? height;
|
|
num? width;
|
|
|
|
SizeSpec({this.height, this.width});
|
|
|
|
factory SizeSpec.fromJson(Map<String, dynamic> json) => SizeSpec(
|
|
height: json['height'],
|
|
width: json['width'],
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'height': height,
|
|
'width': width,
|
|
};
|
|
}
|