LocalConfigIntProvider constructor
Gets a LocalConfig
value as a int.
Whenever this key
changes, this provider will be updated.
Copied from localConfigInt.
Implementation
LocalConfigIntProvider(
String key, [
int defaultValue = Config.defaultValueForInt,
]) : this._internal(
(ref) => localConfigInt(
ref as LocalConfigIntRef,
key,
defaultValue,
),
from: localConfigIntProvider,
name: r'localConfigIntProvider',
debugGetCreateSourceHash:
const bool.fromEnvironment('dart.vm.product')
? null
: _$localConfigIntHash,
dependencies: LocalConfigIntFamily._dependencies,
allTransitiveDependencies:
LocalConfigIntFamily._allTransitiveDependencies,
key: key,
defaultValue: defaultValue,
);