Proof class

Proof of a price.

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

Inheritance

Constructors

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

Properties

created DateTime
getter/setter pair
filePath String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
isPublic bool
if true, the proof is public and is included in the API response.
getter/setter pair
mimetype String
getter/setter pair
owner String
getter/setter pair
priceCount int
Number of prices for this proof.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ProofType?
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