ProductImageData class

Constructors

ProductImageData({required String? imageId, required ImageField imageField, required String? imageUrl, required OpenFoodFactsLanguage? language})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
imageField → ImageField
final
imageId → String?
final
imageUrl → String?
final
language → OpenFoodFactsLanguage?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getImageUrl(ImageSize size) → String?
Try to convert imageUrl to specified size. Note that url for specified size might not exist on API.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited