ConfigurationProviderMixin mixin
Provides configuration key/values for an application.
- Superclass Constraints
- Mixin Applications
Properties
-
data
↔ LinkedHashMap<
String, String?> -
The configuration key value pairs for this provider.
getter/setter pair
- 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 list of keys that this provider has.
override
-
getReloadToken(
) → ChangeToken -
Returns a ChangeToken that can be used to listen when this provider
is reloaded.
override
-
load(
) → void -
Loads configuration values from the source represented
by this ConfigurationProvider.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onReload(
) → void - Triggers the reload change token and creates a new one.
-
set(
String key, String? value) → void -
Sets a value for a given key.
override
-
toString(
) → String -
Generates a string representing this provider name and relevant details.
override
-
tryGet(
String key) → List -
Tries to get a configuration value for the specified key.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited