Files
PiliPlus/lib/models/dynamics/opus_detail/size_spec.dart
dom 40fb93f036 refa: article (#757)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-04-26 14:54:22 +08:00

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,
};
}