ConfigurationSection class
Represents a section of application configuration values.
- Implemented types
- Available extensions
Constructors
- ConfigurationSection(ConfigurationRoot root, String path)
- Initializes a new instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
Gets the key this section occupies in its parent.
no setter
- path → String
-
Gets the full path to this section from the ConfigurationRoot.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String?
-
Gets the section value.
getter/setter pair
Methods
-
getChildren(
) → Iterable< ConfigurationSection> -
Gets the immediate descendant configuration sub-sections.
override
-
getReloadToken(
) → ChangeToken -
Returns a ChangeToken that can be used to observe when
this configuration is reloaded.
override
-
getSection(
String key) → ConfigurationSection -
Gets a configuration sub-section with the specified key.
override
-
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 the value corresponding to a configuration key.
override
-
operator []=(
String key, String? value) → void -
Sets the value corresponding to a configuration key.
override