capture property

  1. @override
bool capture
override

Whether a piece is captured as a result of this move.

Implementation

@override
bool get capture => capturedPiece != null;