isInRoom method

bool isInRoom(
  1. String room
)

Implementation

bool isInRoom(String room) => rooms.contains(room);