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