Returns a bool value associated with the given key, or defaultValue if the key is not found.
bool
key
defaultValue
static bool getBool(String key, {bool defaultValue = false}) => _instance.getBool(key) ?? defaultValue;