MoveRequest constructor

MoveRequest({
  1. String? name,
  2. PoseInFrame? destination,
  3. ResourceName? componentName,
  4. WorldState? worldState,
  5. Constraints? constraints,
  6. Struct? extra,
})

Implementation

factory MoveRequest({
  $core.String? name,
  $14.PoseInFrame? destination,
  $14.ResourceName? componentName,
  $14.WorldState? worldState,
  Constraints? constraints,
  $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 (worldState != null) {
    $result.worldState = worldState;
  }
  if (constraints != null) {
    $result.constraints = constraints;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}