ObstacleDetector constructor

ObstacleDetector({
  1. ResourceName? visionService,
  2. ResourceName? camera,
})

Implementation

factory ObstacleDetector({
  $14.ResourceName? visionService,
  $14.ResourceName? camera,
}) {
  final $result = create();
  if (visionService != null) {
    $result.visionService = visionService;
  }
  if (camera != null) {
    $result.camera = camera;
  }
  return $result;
}