Attribute class

Inheritance

Constructors

Attribute({String? id, String? name, String? title, String? iconUrl, String? defaultF, String? settingNote, String? settingName, String? description, String? descriptionShort, double? match, String? status, String? panelId, Set<String>? values})
Attribute.fromJson(dynamic json)
factory

Properties

defaultF → String?
final
description → String?
final
descriptionShort → String?
final
hashCode → int
The hash code for this object.
no setterinherited
iconUrl → String?
final
id → String?
final
match → double?
final
name → String?
final
panelId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settingName → String?
final
settingNote → String?
final
status → String?
final
title → String?
final
values → Set<String>?
final

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.
override
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

Constants

ATTRIBUTE_ADDITIVES → const String
ATTRIBUTE_ALLERGENS_NO_CELERY → const String
ATTRIBUTE_ALLERGENS_NO_CRUSTACEANS → const String
ATTRIBUTE_ALLERGENS_NO_EGGS → const String
ATTRIBUTE_ALLERGENS_NO_FISH → const String
ATTRIBUTE_ALLERGENS_NO_GLUTEN → const String
ATTRIBUTE_ALLERGENS_NO_LUPIN → const String
ATTRIBUTE_ALLERGENS_NO_MILK → const String
ATTRIBUTE_ALLERGENS_NO_MOLLUSCS → const String
ATTRIBUTE_ALLERGENS_NO_MUSTARD → const String
ATTRIBUTE_ALLERGENS_NO_NUTS → const String
ATTRIBUTE_ALLERGENS_NO_PEANUTS → const String
ATTRIBUTE_ALLERGENS_NO_SESAME_SEEDS → const String
ATTRIBUTE_ALLERGENS_NO_SOYBEANS → const String
ATTRIBUTE_ALLERGENS_NO_SULPHUR_DIOXIDE_AND_SULPHITES → const String
ATTRIBUTE_ECOSCORE → const String
ATTRIBUTE_FOREST_FOOTPRINT → const String
ATTRIBUTE_LABELS_FAIR_TRADE → const String
ATTRIBUTE_LABELS_ORGANIC → const String
ATTRIBUTE_LOW_FAT → const String
ATTRIBUTE_LOW_SALT → const String
ATTRIBUTE_LOW_SATURATED_FAT → const String
ATTRIBUTE_LOW_SUGARS → const String
ATTRIBUTE_NOVA → const String
ATTRIBUTE_NUTRISCORE → const String
ATTRIBUTE_PALM_OIL_FREE → const String
ATTRIBUTE_UNWANTED_INGREDIENTS → const String
ATTRIBUTE_VEGAN → const String
ATTRIBUTE_VEGETARIAN → const String
STATUS_KNOWN → const String
STATUS_UNKNOWN → const String