ServerClient class Null safety
A Client that can contact the server to manage games
The client can
- Start
- Delete
- Get Game Info
- Get List of Games that
playerID
is a part of
- Implementers
Constructors
Properties
Methods
-
connect(
) → Future< void> - Connects to the backend [...]
-
createGame(
PlayerID playerID, GameConfig config) → Future< GameCode> - Creates a game on the server
-
deleteGame(
PlayerID playerID, GameCode gameCode) → Future< bool> - Deletes the game on the server
-
disconnect(
) → Future< void> - Disconnect from the backend [...]
-
dispose(
) → void - Disposes of the ServerClient (i.e. disconnects from the server)
-
getGames(
PlayerID playerID) → Future< IList< GameInfo> > - Gets a list of games on the server
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited