StreamConfigurationProvider class abstract
Stream based configuration provider
- Inheritance
-
- Object
- ConfigurationProvider
- StreamConfigurationProvider
Constructors
- StreamConfigurationProvider.new(StreamConfigurationSource source)
- Constructor.
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
-
getChildKeys(
Iterable< String> earlierKeys, String? parentPath) → Iterable<String> -
Returns the immediate descendant configuration keys for a
given parent path based on this ConfigurationProviders
data and the set of keys returned by all the preceding
ConfigurationProviders.
inherited
-
getReloadToken(
) → ChangeToken -
Returns a change token if this provider supports change
tracking, null otherwise.
inherited
-
load(
) → void -
Load the configuration data from the stream.
Will throw after the first call.
override
-
loadStream(
Stream stream) → void - Load the configuration data from the stream.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
String key, String? value) → void -
Sets a configuration value for the specified key.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
tryGet(
String key) → List -
Tries to get a configuration value for the specified key.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited