DropMove class

Represents a drop move.

Inheritance
Annotations
  • @immutable

Constructors

DropMove({required Square to, required Role role})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
role Role
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to Square
The target square of this move.
finalinherited
uci String
Gets UCI notation of the drop, like Q@f7.
no setteroverride

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
override