currentRoom property

Room currentRoom

Returns the current room.

Implementation

Room get currentRoom => rooms.firstWhere((room) => room.id == _currentRoom);