ProductImage constructor

ProductImage(
  1. {required ImageField field,
  2. ImageSize? size,
  3. required OpenFoodFactsLanguage language,
  4. String? url,
  5. int? rev,
  6. String? imgid,
  7. ImageAngle? angle,
  8. String? coordinatesImageSize,
  9. int? x1,
  10. int? y1,
  11. int? x2,
  12. int? y2,
  13. int? width,
  14. int? height}
)

Implementation

ProductImage({
  required ImageField this.field,
  this.size,
  required OpenFoodFactsLanguage this.language,
  this.url,
  this.rev,
  this.imgid,
  this.angle,
  this.coordinatesImageSize,
  this.x1,
  this.y1,
  this.x2,
  this.y2,
  this.width,
  this.height,
});