RoomData class

Contains relevant room data.

Implementers

Constructors

RoomData({required Game game, required List<Player> players, required Player host, required List<Event> events})
const

Properties

events List<Event>
Event trace.
final
game Game
Game being played.
final
gameStarted bool
Get if the game session has started.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasRequiredPlayers bool
Get if the room has the required player count.
no setter
host Player
Player that owns the room.
final
isOvercapacity bool
Get if the room is over the game player capacity.
no setter
players List<Player>
All players in the room.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited