PriceMetaProduct class

Meta version of a product, coming from OFF or from Prices.

Constructors

PriceMetaProduct.category({required String categoryName, required List<String> originNames, required OpenFoodFactsLanguage language})
PriceMetaProduct.priceProduct(PriceProduct priceProduct)
PriceMetaProduct.product(Product product)
PriceMetaProduct.unknown(String barcode, LocalDatabase localDatabase, PriceModel priceModel)

Properties

barcode → String
no setter
categoryName → String
no setter
categoryTag → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
originNames → List<String>
no setter
originTags → List<String>
no setter
pricePer ↔ PricePer
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getImageWidget(double size) → Widget
getName(AppLocalizations appLocalizations) → String
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