ConfigurationManager class

ConfigurationManager is responsible for managing different configuration sources by merging the different values and offering a uniform API.

Annotations

Constructors

ConfigurationManager()

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

get<T>(String path, Type type, [T? defaultValue]) → T
Retrieve a configuration value by path and type, with optional coercion.
loadSource(ConfigurationSource source) → void
Load configuration data from a source
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