PreferenceImportance class
Importance level when we match products to preferences. Will be loaded in JSON as a list of increasingly important items.
Constructors
- PreferenceImportance({String? id, String? name, int? factor, int? minimalMatch})
- PreferenceImportance.fromJson(dynamic json)
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- ID_IMPORTANT → const String
- ID_MANDATORY → const String
- ID_NOT_IMPORTANT → const String
- ID_VERY_IMPORTANT → const String
-
IDS
→ const List<
String> - INDEX_NOT_IMPORTANT → const int
- The index of the least important, therefore 0 (which is "NOT" important).