Function to get a bool from the room
bool? getBool(String key) { var cdata = getKey(key); try { return cdata as bool; } catch (e) { return null; } }