UserPreferences class Null safety

Properties

analyticsReports bool
read-only
appLanguageCode String?
read-only
crashReports bool
read-only
currentTheme String
read-only
devMode int
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
lastVisitedOnboardingPage → dynamic
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
themeColorTag String
read-only
userCountryCode String?
read-only

Methods

getDevModeIndex(String tag) int?
getDevModeString(String tag) String?
getExcludedAttributeIds() List<String>
getFlag(String key) bool?
getImportance(String attributeId) String
init(dynamic productPreferences) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setAnalyticsReports(bool state) Future<void>
setAppLanguageCode(String? languageCode) Future<void>
setCrashReports(bool state) Future<void>
setDevMode(int value) Future<void>
setDevModeIndex(String tag, int index) Future<void>
setDevModeString(String tag, String value) Future<void>
setExcludedAttributeIds(List<String> value) Future<void>
setFlag(String key, bool? value) Future<void>
setImportance(String attributeId, String importanceId) Future<void>
setLastVisitedOnboardingPage(dynamic page) Future<void>
setTheme(String theme) Future<void>
setThemeColorTag(String colorTag) Future<void>
setUserCountry(String countryCode) Future<void>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

getUserPreferences() Future<UserPreferences>