getAsBool method
Gets a key
value parsing as bool.
def
is the default value if the value is invalid.
Implementation
bool? getAsBool(K key, {bool? defaultValue, bool ignoreCase = false}) =>
getParsed(
key,
TypeParser.parseBool,
defaultValue: defaultValue,
ignoreCase: ignoreCase,
);