GameStatus enum Null safety
Represents the current status of the game as seen by the client
Constants
- BetweenRounds → const GameStatus
-
The game is waiting for the clients to signal that they are ready for the next round before moving on
const GameStatus(2)
- Finished → const GameStatus
-
The game is finished
const GameStatus(3)
- Lobby → const GameStatus
-
The client is waiting for the game to start
const GameStatus(0)
- Started → const GameStatus
-
The game has started
const GameStatus(1)
-
values
→ const List<
GameStatus> -
A constant List of the values in this enum, in order of their declaration.
const List<
GameStatus>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited