MatchedProductStatusV2 enum
Match and score of a Product vs. Preferences, v2
cf. https://github.com/openfoodfacts/smooth-app/issues/1894 cf. https://github.com/openfoodfacts/openfoodfacts-server/blob/main/html/js/product-search.js cf. https://openfoodfacts.org/js/product-search.js
Constructors
- MatchedProductStatusV2()
-
const
Values
- VERY_GOOD_MATCH → const MatchedProductStatusV2
-
Very good match (very good score)
- GOOD_MATCH → const MatchedProductStatusV2
-
Good match (good score)
- POOR_MATCH → const MatchedProductStatusV2
-
Poor match (poor score)
- UNKNOWN_MATCH → const MatchedProductStatusV2
-
Unknown match (at least 50% unknown attributes or one mandatory unknown)
- MAY_NOT_MATCH → const MatchedProductStatusV2
-
May not match (at least one mandatory attribute that may not match)
- DOES_NOT_MATCH → const MatchedProductStatusV2
-
Does not match (at least one mandatory attribute that does not match)
Properties
Methods
-
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
Constants
-
values
→ const List<
MatchedProductStatusV2> - A constant List of the values in this enum, in order of their declaration.