NoServerClient class

An on device implementation of ServerClient

Warning implementation not complete or tested yet

Inheritance

Constructors

NoServerClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
logger → Logger
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() Future<void>
Connects to the backend
inherited
createGame(PlayerID playerID, GameConfig config) Future<String>
Creates a game on the server
override
deleteGame(PlayerID playerID, GameCode gameCode) Future<bool>
Deletes the game on the server
override
disconnect() Future<void>
Disconnect from the backend
inherited
dispose() → void
Disposes of the ServerClient (i.e. disconnects from the server)
override
getGames(PlayerID playerID) Future<IList<GameInfo>>
Gets a list of games on the server
override
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

Static Properties

games Map<GameCode, LocalGame>
final