mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
22 lines
518 B
Dart
22 lines
518 B
Dart
class UploadBfsResData {
|
|
String? imageUrl;
|
|
int? imageWidth;
|
|
int? imageHeight;
|
|
double? imgSize;
|
|
|
|
UploadBfsResData({
|
|
this.imageUrl,
|
|
this.imageWidth,
|
|
this.imageHeight,
|
|
this.imgSize,
|
|
});
|
|
|
|
factory UploadBfsResData.fromJson(Map<String, dynamic> json) =>
|
|
UploadBfsResData(
|
|
imageUrl: json['image_url'] as String?,
|
|
imageWidth: json['image_width'] as int?,
|
|
imageHeight: json['image_height'] as int?,
|
|
imgSize: (json['img_size'] as num?)?.toDouble(),
|
|
);
|
|
}
|