Files
PiliPlus/lib/models_new/space/space/container_size.dart
bggRGjQaUbCoE b960359a39 opt models
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-06-05 14:44:56 +08:00

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