getBool method
Converts the value at key (or alternativeKeys) to bool.
Implementation
bool getBool(
K key, {
List<K>? alternativeKeys,
dynamic innerKey,
int? innerListIndex,
bool? defaultValue,
ElementConverter<bool>? converter,
}) => ConvertObjectImpl.toBool(
_firstValueForKeys(key, alternativeKeys: alternativeKeys),
mapKey: innerKey,
listIndex: innerListIndex,
defaultValue: defaultValue,
converter: converter,
debugInfo: {
'key': key,
if (alternativeKeys != null && alternativeKeys.isNotEmpty)
'altKeys': alternativeKeys,
},
);