Move class Null safety

Constructors

Move({required Color color, required int from, required int to, required int flags, required PieceType piece, PieceType? captured, PieceType? promotion})
const

Properties

captured PieceType?
final
color Color
final
flags int
final
from int
final
fromAlgebraic String
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
piece PieceType
final
promotion PieceType?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
to int
final
toAlgebraic String
read-only

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