MoveOnMapRequest constructor

MoveOnMapRequest({
  1. String? name,
  2. Pose? destination,
  3. ResourceName? componentName,
  4. ResourceName? slamServiceName,
  5. MotionConfiguration? motionConfiguration,
  6. Iterable<Geometry>? obstacles,
  7. Struct? extra,
})

Implementation

factory MoveOnMapRequest({
  $core.String? name,
  $14.Pose? destination,
  $14.ResourceName? componentName,
  $14.ResourceName? slamServiceName,
  MotionConfiguration? motionConfiguration,
  $core.Iterable<$14.Geometry>? obstacles,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (destination != null) {
    $result.destination = destination;
  }
  if (componentName != null) {
    $result.componentName = componentName;
  }
  if (slamServiceName != null) {
    $result.slamServiceName = slamServiceName;
  }
  if (motionConfiguration != null) {
    $result.motionConfiguration = motionConfiguration;
  }
  if (obstacles != null) {
    $result.obstacles.addAll(obstacles);
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}