Files
PiliPlus/lib/models_new/upload_bfs/data.dart
bggRGjQaUbCoE 418a1e8d39 reformat
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-23 16:47:11 +08:00

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(),
);
}