PriceUser class

Price user object.

cf. User in https://prices.openfoodfacts.org/api/docs

Inheritance

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
json Map<String, dynamic>
final
locationCount int?
Number of locations for this user.
no setter
locationTypeOsmCountryCount int?
no setter
priceCount int?
Number of prices for this user.
no setter
priceCurrencyCount int?
Number of unique currencies in the user's price contributions
no setter
priceInProofNotOwnedCount int?
no setter
priceInProofOwnedCount int?
no setter
priceKindCommunityCount int?
Number of price contributions based on category (Community or Consumption)
no setter
priceKindConsumptionCount int?
no setter
priceNotOwnedInProofOwnedCount int?
no setter
priceTypeCategoryCount int?
no setter
priceTypeProductCount int?
no setter
productCount int?
Number of products for this user.
no setter
proofCount int?
Number of proofs for this user.
no setter
proofKindCommunityCount int?
Number of proof contributions based on category (Community or Consumption)
no setter
proofKindConsumptionCount int?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String
no setter

Methods

getInt(String key) int?
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