GetPropertiesResponse constructor

GetPropertiesResponse({
  1. bool? cloudSlam,
  2. MappingMode? mappingMode,
  3. String? internalStateFileType,
  4. Iterable<SensorInfo>? sensorInfo,
})

Implementation

factory GetPropertiesResponse({
  $core.bool? cloudSlam,
  MappingMode? mappingMode,
  $core.String? internalStateFileType,
  $core.Iterable<SensorInfo>? sensorInfo,
}) {
  final $result = create();
  if (cloudSlam != null) {
    $result.cloudSlam = cloudSlam;
  }
  if (mappingMode != null) {
    $result.mappingMode = mappingMode;
  }
  if (internalStateFileType != null) {
    $result.internalStateFileType = internalStateFileType;
  }
  if (sensorInfo != null) {
    $result.sensorInfo.addAll(sensorInfo);
  }
  return $result;
}