getBool method
Returns the value for key as a bool.
Accepts 'true' / '1' / 'yes' (case-insensitive) as true;
everything else is false.
Implementation
bool getBool(String key) {
final raw = get(key).toLowerCase();
return raw == 'true' || raw == '1' || raw == 'yes';
}