call method

LocalConfigBoolProvider call(
  1. String key, [
  2. bool defaultValue = Config.defaultValueForBool
])

Gets a LocalConfig value as a bool. Whenever this key changes, this provider will be updated.

Copied from localConfigBool.

Implementation

LocalConfigBoolProvider call(
  String key, [
  bool defaultValue = Config.defaultValueForBool,
]) {
  return LocalConfigBoolProvider(
    key,
    defaultValue,
  );
}