getBool method
Returns bool value by key
If map not contains key
or the value has a different type and defaultValue
is null then throw FormatException
Implementation
bool getBool(String key, [bool? defaultValue]) {
return _value(key, defaultValue);
}