LocalStorage class

Constructors

LocalStorage()

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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

Static Methods

loadLanguage() Future<void>
Gets the current language codeString (example.: hu) from SharedPreferences using the translatronLang key
loadLanguageVersion() Future<String>
Gets the current language versionString from SharedPreferences using the translatronLanguageVersion key
persistLanguage(String lang) Future<void>
Persists the current language codeString (example.: hu) to SharedPreferences using the translatronLang key
persistLanguageVersion(String langVersion) Future<void>
Persist a new language versionString into SharedPreferences using the translatronLanguageVersion key