MoveToPositionRequest constructor

MoveToPositionRequest({
  1. String? name,
  2. Iterable<double>? positionsMm,
  3. Iterable<double>? speedsMmPerSec,
  4. Struct? extra,
})

Implementation

factory MoveToPositionRequest({
  $core.String? name,
  $core.Iterable<$core.double>? positionsMm,
  $core.Iterable<$core.double>? speedsMmPerSec,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (positionsMm != null) {
    $result.positionsMm.addAll(positionsMm);
  }
  if (speedsMmPerSec != null) {
    $result.speedsMmPerSec.addAll(speedsMmPerSec);
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}