State class Null safety

Constructors

State(Move move, ColorMap<int> kings, Color turn, ColorMap<int> castling, int epSquare, int halfMoves, int moveNumber)
const

Properties

castling ColorMap<int>
final
epSquare int
final
halfMoves int
final
hashCode int
The hash code for this object. [...]
read-only, inherited
kings ColorMap<int>
final
move Move
final
moveNumber int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
turn Color
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited