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