Creates an ImageFile from JSON.
factory ImageFile.fromJson(Map<String, dynamic> json) { return ImageFile( fileId: json['file_id'] as String, detail: json['detail'] as String?, ); }