toClientView method Null safety
Optionally converts the game from a full game state to a view of the game from the client's perspective
Implementation
static Game toClientView(Game g) => _toClientViews[g.type]!(g);
Optionally converts the game from a full game state to a view of the game from the client's perspective
static Game toClientView(Game g) => _toClientViews[g.type]!(g);