captures property

List<Move> captures

All moves that involve a capture.

Implementation

List<Move> get captures => where((e) => e.capture).toList();