mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-01 15:49:49 +08:00
11
lib/models_new/space/space/size_spec.dart
Normal file
11
lib/models_new/space/space/size_spec.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
class SizeSpec {
|
||||
double? width;
|
||||
double? height;
|
||||
|
||||
SizeSpec({this.width, this.height});
|
||||
|
||||
factory SizeSpec.fromJson(Map<String, dynamic> json) => SizeSpec(
|
||||
width: (json['width'] as num?)?.toDouble(),
|
||||
height: (json['height'] as num?)?.toDouble(),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user