moved property

bool get moved

Whether the piece arrived on square in this state change, with the board animating it.

Implementation

bool get moved => animated && from != null;