PieceType class Null safety

Properties

hashCode int
The hash code for this object. [...]
read-only, override
name String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shift int
final

Methods

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

Operators

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

Constants

BISHOP → const PieceType
const PieceType._internal(2, 'b')
KING → const PieceType
const PieceType._internal(5, 'k')
KNIGHT → const PieceType
const PieceType._internal(1, 'n')
PAWN → const PieceType
const PieceType._internal(0, 'p')
QUEEN → const PieceType
const PieceType._internal(4, 'q')
ROOK → const PieceType
const PieceType._internal(3, 'r')