mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
17
lib/models_new/upload_bfs/data.dart
Normal file
17
lib/models_new/upload_bfs/data.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
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(),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user