Configuration class abstract
Represents a set of key/value application configuration properties.
- Available extensions
Constructors
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
-
asIterable(
{bool makePathsRelative = false}) → Iterable< MapEntry< String, String> > -
Available on Configuration, provided by the ConfigurationExtensions extension
Get the enumeration of key value pairs within the Configuration -
getChildren(
) → Iterable< ConfigurationSection> - Returns the configuration sub-sections.
-
getConnectionString(
String name) → String? -
Available on Configuration, provided by the ConfigurationExtensions extension
Gets the connection string -
getReloadToken(
) → ChangeToken - Returns a ChangeToken that can be used to observe when this configuration is reloaded.
-
getRequiredSection(
String key) → ConfigurationSection -
Available on Configuration, provided by the ConfigurationExtensions extension
Gets a configuration sub-section with the specified key. -
getSection(
String key) → ConfigurationSection - Gets a configuration sub-section with the specified key.
-
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
-
operator [](
String key) → String? - Gets a configuration value.
-
operator []=(
String key, String? value) → void - Sets a configuration value;