Files
PiliPlus/lib/models/space/container_size.dart
bggRGjQaUbCoE 1d4eabb770 tweak
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-05-17 19:01:46 +08:00

18 lines
385 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'container_size.g.dart';
@JsonSerializable()
class ContainerSize {
double? width;
double? height;
ContainerSize({this.width, this.height});
factory ContainerSize.fromJson(Map<String, dynamic> json) {
return _$ContainerSizeFromJson(json);
}
Map<String, dynamic> toJson() => _$ContainerSizeToJson(this);
}