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