PieceColor enum Null safety
Represents a color of the Piece.
Constructors
- PieceColor()
-
const
Values
- white → const PieceColor
- black → const PieceColor
Properties
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
Constants
-
values
→ const List<
PieceColor> -
A constant List of the values in this enum, in order of their declaration.
[white, black]