MoveOnGlobeRequest constructor
MoveOnGlobeRequest({
- String? name,
- GeoPoint? destination,
- double? heading,
- ResourceName? componentName,
- ResourceName? movementSensorName,
- Iterable<
GeoGeometry> ? obstacles, - MotionConfiguration? motionConfiguration,
- Iterable<
GeoGeometry> ? boundingRegions, - Struct? extra,
Implementation
factory MoveOnGlobeRequest({
$core.String? name,
$14.GeoPoint? destination,
$core.double? heading,
$14.ResourceName? componentName,
$14.ResourceName? movementSensorName,
$core.Iterable<$14.GeoGeometry>? obstacles,
MotionConfiguration? motionConfiguration,
$core.Iterable<$14.GeoGeometry>? boundingRegions,
$43.Struct? extra,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (destination != null) {
$result.destination = destination;
}
if (heading != null) {
$result.heading = heading;
}
if (componentName != null) {
$result.componentName = componentName;
}
if (movementSensorName != null) {
$result.movementSensorName = movementSensorName;
}
if (obstacles != null) {
$result.obstacles.addAll(obstacles);
}
if (motionConfiguration != null) {
$result.motionConfiguration = motionConfiguration;
}
if (boundingRegions != null) {
$result.boundingRegions.addAll(boundingRegions);
}
if (extra != null) {
$result.extra = extra;
}
return $result;
}