InsightType enum

Inheritance
Implemented types

Constructors

InsightType({required String offTag})
const

Values

INGREDIENT_SPELLCHECK → const InsightType
InsightType(offTag: 'ingredient_spellcheck')
PACKAGER_CODE → const InsightType
InsightType(offTag: 'packager_code')
LABEL → const InsightType
InsightType(offTag: 'label')
CATEGORY → const InsightType
InsightType(offTag: 'category')
PRODUCT_WEIGHT → const InsightType
InsightType(offTag: 'product_weight')
EXPIRATION_DATE → const InsightType
InsightType(offTag: 'expiration_date')
BRAND → const InsightType
InsightType(offTag: 'brand')
STORE → const InsightType
InsightType(offTag: 'store')
NUTRIENT → const InsightType
InsightType(offTag: 'nutrient')
UNDEFINED → const InsightType
InsightType(offTag: 'undefined')
UNKNOWN → const InsightType
InsightType(offTag: 'UNKNOWN')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
offTag String
Identifying tag used in the rest of OFF.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

fromOffTag(String? offTag) InsightType?
Returns the first InsightType that matches the offTag.
override

Constants

values → const List<InsightType>
A constant List of the values in this enum, in order of their declaration.