BoardColor class

A side of the board (white/black).

Properties

hashCode int
Hash code
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
Value: 0 for white, 1 for black.
final

Methods

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

Operators

operator ==(Object other) bool
Equality operator
override

Constants

black → const BoardColor
Black side
white → const BoardColor
White side