GameData class

Class that contains the data of a single game.

Constructors

GameData(String id, dynamic lightPlayer, dynamic darkPlayer, String board, dynamic moves, int tInitial, int tIncrement, int tLightTimer, int tDarkTimer, String gameType, String createdAt, String updatedAt)

Properties

board String
read / write
createdAt String
read / write
darkPlayer String
read / write
endState String
read / write
gameType String
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String
read / write
lightPlayer String
read / write
moves List<String>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
tDarkTimer int
read / write
tIncrement int
read / write
tInitial int
read / write
tLightTimer int
read / write
updatedAt String
read / write
winner String
read / write

Methods

addResult(dynamic winner, dynamic endState) → void
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