ConfigReader class Null safety
Abstract config reader that supports configuration parameterization.
Configuration parameters
- parameters: this entire section is used as template parameters
- ...
See IConfigReader
- Implemented types
- Implementers
Constructors
- ConfigReader()
- Creates a new instance of the config reader.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
addChangeListener(
INotifiable listener) → void -
Adds a listener that will be notified when configuration is changed [...]
override
-
configure(
ConfigParams config) → void -
Configures component by passing configuration parameters. [...]
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
parameterize(
String config, ConfigParams parameters) → String? - Parameterized configuration template given as string with dynamic parameters. [...]
-
readConfig(
String? correlationId, ConfigParams parameters) → Future< ConfigParams> -
Reads configuration and parameterize it with given values. [...]
override
-
removeChangeListener(
INotifiable listener) → void -
Remove a previously added change listener. [...]
override
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited