NUIGlobalConfig class
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
-
addValue(String key, dynamic value)
→ void
-
-
addValues(Map<String, dynamic> map)
→ void
-
-
clear()
→ void
-
-
getAll()
→ Map<String, dynamic>
-
-
getConfig()
→ NUIAppConfig?
-
-
getDeepValue<T>(String keyPath)
→ T?
-
-
getDynamic(String key)
→ dynamic
-
-
getString(String key, {List? params})
→ String?
-
-
getValue<T>(String key)
→ T
-
-
loadFromAsset(String name)
→ Future<NUIGlobalConfig?>
-
Load a specific asset
-
loadFromAssets(List<String> name)
→ Future<NUIGlobalConfig?>
-
Load the list of provided assets
-
loadFromMap(Map<String, dynamic> map)
→ NUIGlobalConfig
-
-
loadFromPath(String path)
→ Future<NUIGlobalConfig>
-
-
loadFromPathIntoKey(String path, String key)
→ Future<NUIGlobalConfig>
-
-
loadFromUrl(String url, {Map<String, String>? queryParameters, })
→ Future<NUIGlobalConfig>
-
-
loadFromUrlIntoKey(String url, String key, {Map<String, String>? queryParameters, })
→ Future<NUIGlobalConfig>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateValue(String key, dynamic value)
→ void
-