Algorithm constructor

const Algorithm({
  1. List<Move> moves = const [],
})

Creates an instance of Algorithm class.

Implementation

const Algorithm({
  List<Move> moves = const [],
}) : _moves = moves;