LangStorage class
Constructors
- LangStorage()
-
factory
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
-
cacheCurrentLang(
Locale? locale) → void - 缓存当前语言
-
cacheMemoryLang(
String langJson) → void - 临时语言缓存(启动时默认语言缓存)
-
getCurrentLangCode(
) → Locale? - 获取当前语言
-
loadLang(
) → void - 初始化加载缓存语言
-
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 Properties
- instance → LangStorage
-
no setter