MoveToPositionRequest constructor
MoveToPositionRequest({})
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;
}