mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
14 lines
300 B
Dart
14 lines
300 B
Dart
class Dimension {
|
|
int? width;
|
|
int? height;
|
|
int? rotate;
|
|
|
|
Dimension({this.width, this.height, this.rotate});
|
|
|
|
factory Dimension.fromJson(Map<String, dynamic> json) => Dimension(
|
|
width: json['width'] as int?,
|
|
height: json['height'] as int?,
|
|
rotate: json['rotate'] as int?,
|
|
);
|
|
}
|