ServerType enum
Type of Server (e.g. "food facts", "beauty facts", ...).
Constructors
- ServerType({required String offTag})
-
const
Values
- openFoodFacts → const ServerType
-
Open Food Facts
ServerType(offTag: 'off')
- openBeautyFacts → const ServerType
-
Open Beauty Facts
ServerType(offTag: 'obf')
- openPetFoodFacts → const ServerType
-
Open Pet Food Facts
ServerType(offTag: 'opff')
- openProductFacts → const ServerType
-
Open Product Facts
ServerType(offTag: 'opf')
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
Static Methods
-
fromOffTag(
String? offTag) → ServerType? -
Returns the ServerType that matches the
offTag
.override
Constants
-
values
→ const List<
ServerType> - A constant List of the values in this enum, in order of their declaration.