go method

void go(
  1. String move,
  2. int repetitions
)

Implementation

void go(String move, int repetitions) {
  final bool call = _commandCaller.move(move, <int>[repetitions]);
  if (!call) {
    _error = CatError.invalidMove;
  }
}