Config class
Config file representation
Properties
- handler → DllHandler
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
implementation
→ Pointer<
Void> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
getBasePath(
) → String - Get config file directory
-
getConfiguration(
) → String - Get current config JSON string data
-
getConfigurationBoolean(
String key, {bool recursive = true}) → bool - Get boolean from config
-
getConfigurationInteger(
String key, {bool recursive = true}) → int - Get integer from config
-
getConfigurationString(
String key, {bool recursive = true}) → String - Get string from config
-
getRawConfiguration(
) → String - Get raw config JSON string data
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideBasePath(
String basePath) → void - Override config file directory
-
overrideConfigurationBoolean(
String key, bool value, {bool recursive = true}) → void - Override bool
-
overrideConfigurationInteger(
String key, int value, {bool recursive = true}) → void - Override integer
-
overrideConfigurationIntegerArray(
String key, List< int> value, {bool recursive = true}) → void - Override integer array
-
overrideConfigurationString(
String key, String value, {bool recursive = true}) → void - Override string
-
overrideConfigurationStringArray(
String key, List< String> value, {bool recursive = true}) → void - Override string array
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited