getBoolean method
Access a bool
value.
Returns false
if there is no such key or if it is not a bool
.
Implementation
bool getBoolean(String key) {
if (get(key) is! bool) {
return false;
}
return get(key);
}
Access a bool
value.
Returns false
if there is no such key or if it is not a bool
.
bool getBoolean(String key) {
if (get(key) is! bool) {
return false;
}
return get(key);
}