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