getRoomById method
Searches in the local cache for the given room and returns null if not found. This does not include archived rooms.
Implementation
Room? getRoomById(String id) {
for (final room in rooms) {
if (room.id == id) return room;
}
return null;
}