getMultiKeyAsBool method

bool? getMultiKeyAsBool(
  1. List<K> keys, {
  2. bool? defaultValue,
  3. bool ignoreCase = false,
})

Gets the value of the first matching keys, parsing as bool.

  • defaultValue is the default value if the value is absent or invalid.

Implementation

bool? getMultiKeyAsBool(
  List<K> keys, {
  bool? defaultValue,
  bool ignoreCase = false,
}) => getMultiKeyParsed(
  keys,
  TypeParser.parseBool,
  defaultValue: defaultValue,
  ignoreCase: ignoreCase,
);