Files
PiliPlus/lib/models_new/space/space/container_size.dart
bggRGjQaUbCoE 418a1e8d39 reformat
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-23 16:47:11 +08:00

12 lines
286 B
Dart

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