mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-27 14:00:12 +08:00
refa: article (#757)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
16
lib/models/dynamics/opus_detail/size_spec.dart
Normal file
16
lib/models/dynamics/opus_detail/size_spec.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
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,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user