currentRoom property
Room
currentRoom
Returns the current room.
Implementation
Room get currentRoom => rooms.firstWhere((room) => room.id == _currentRoom);
Returns the current room.
Room get currentRoom => rooms.firstWhere((room) => room.id == _currentRoom);