mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 01:56:47 +08:00
12 lines
298 B
Dart
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(),
|
|
);
|
|
}
|