Properties constructor

Properties({
  1. MapType? mapType,
  2. double? footprintLengthM,
  3. double? footprintWidthM,
  4. double? robotRadiusM,
  5. bool? planningSupported,
  6. bool? costmapSupported,
  7. bool? zonesSupported,
  8. bool? routesSupported,
})

Implementation

factory Properties({
  MapType? mapType,
  $core.double? footprintLengthM,
  $core.double? footprintWidthM,
  $core.double? robotRadiusM,
  $core.bool? planningSupported,
  $core.bool? costmapSupported,
  $core.bool? zonesSupported,
  $core.bool? routesSupported,
}) {
  final $result = create();
  if (mapType != null) {
    $result.mapType = mapType;
  }
  if (footprintLengthM != null) {
    $result.footprintLengthM = footprintLengthM;
  }
  if (footprintWidthM != null) {
    $result.footprintWidthM = footprintWidthM;
  }
  if (robotRadiusM != null) {
    $result.robotRadiusM = robotRadiusM;
  }
  if (planningSupported != null) {
    $result.planningSupported = planningSupported;
  }
  if (costmapSupported != null) {
    $result.costmapSupported = costmapSupported;
  }
  if (zonesSupported != null) {
    $result.zonesSupported = zonesSupported;
  }
  if (routesSupported != null) {
    $result.routesSupported = routesSupported;
  }
  return $result;
}