game_scaffold_dart
server
Game
<
E extends Event
>
toJson abstract method
toJson
toJson
method
Null safety
Map
<
String
,
dynamic
>
toJson
(
)
Serializes the state for consumption by the frontend
Implementation
Map<String, dynamic> toJson();
game_scaffold_dart
server
Game
<
E extends Event
>
toJson abstract method
Game class
Constructors
Game
Properties
generic
hashCode
runtimeType
type
Methods
copyWithGeneric
moveNextRound
next
noSuchMethod
toJson
toString
Operators
operator ==
Static properties
gameNames
Static methods
fromJson
gameEventFromJson
getInitialState
registerGameType
toClientView