AvailablePreferenceImportances class

Referential of preference importance, with loader.

Constructors

AvailablePreferenceImportances.loadFromJSONString(String preferenceImportancesString)
Load constructor; may throw an exception.

Properties

hashCode int
The hash code for this object.
no setterinherited
importanceIds List<String>?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getImportanceIndex(String importanceId) int
Returns the index of an importance.
getPreferenceImportance(String importanceId) PreferenceImportance?
Returns the importance from its id.
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

getUrl(String languageCode) String
Where a localized JSON file can be found. languageCode is a 2-letter language code.