AutonomyCommand constructor

AutonomyCommand({
  1. GpsCoordinates? destination,
  2. AutonomyTask? task,
  3. int? arucoId,
  4. bool? abort,
  5. Version? version,
})

Implementation

factory AutonomyCommand({
  $2.GpsCoordinates? destination,
  AutonomyTask? task,
  $core.int? arucoId,
  $core.bool? abort,
  $0.Version? version,
}) {
  final $result = create();
  if (destination != null) {
    $result.destination = destination;
  }
  if (task != null) {
    $result.task = task;
  }
  if (arucoId != null) {
    $result.arucoId = arucoId;
  }
  if (abort != null) {
    $result.abort = abort;
  }
  if (version != null) {
    $result.version = version;
  }
  return $result;
}