PriceProduct class

Product object in the Prices API.

cf. ProductBase in https://prices.openfoodfacts.net/docs

Inheritance

Constructors

PriceProduct()
PriceProduct.fromJson(Map<String, dynamic> json)
factory

Properties

code String
getter/setter pair
created DateTime
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageURL String?
getter/setter pair
name String?
getter/setter pair
productId int
getter/setter pair
quantity int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
getter/setter pair
updated DateTime?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toData() Map<String, String>
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
toValueString() String
Returns all values as a String separated by a hyphen value1 - value2 - value3
inherited

Operators

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