LocalConfigBoolFamily class
Gets a LocalConfig
value as a bool.
Whenever this key
changes, this provider will be updated.
Copied from localConfigBool.
Constructors
- LocalConfigBoolFamily.new()
-
Gets a
LocalConfig
value as a bool. Whenever thiskey
changes, this provider will be updated.const
Properties
-
allTransitiveDependencies
→ Iterable<
ProviderOrFamily> ? -
All the dependencies of a provider and their dependencies too.
no setter
-
dependencies
→ Iterable<
ProviderOrFamily> ? -
The list of providers that this provider potentially depends on.
no setter
-
from
→ Family<
Object?> ? -
The family that this provider/family depends on.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
A custom label for providers.
no setter
-
overriddenFamily
→ Family<
bool> -
The family that was overridden.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
String key, [bool defaultValue = Config.defaultValueForBool]) → LocalConfigBoolProvider -
Gets a
LocalConfig
value as a bool. Whenever thiskey
changes, this provider will be updated. -
getProviderOverride(
covariant LocalConfigBoolProvider provider) → LocalConfigBoolProvider - Obtains the new behavior for a provider associated to the overridden family.
-
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