var i=class{static toFormData(a){let e=new FormData;return a.id&&e.append("id",a.id),a.restaurant_id&&e.append("restaurant_id",a.restaurant_id),a.promo_image&&e.append("promo_image",a.promo_image),a.imageFile&&e.append("image",a.imageFile,a.imageFile.name),e}};export{i as a};
