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

factor int?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
minimalMatch int?
final
name String?
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.
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).