Game class

A model representing a shogi game

Constructors

Game({required List<GameBoard> gameBoards, required List<Move> moves, PlayerType? winner})
const
Game.fromKif(String file)
Constructs a Game from string a kif file
factory

Properties

gameBoards List<GameBoard>
A list of game positions
final
hashCode int
The hash code for this object.
no setteroverride
moves List<Move>
A list of moves
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
winner PlayerType?
The game's winner
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override