PersonVehicleDetectionConfig constructor

PersonVehicleDetectionConfig({
  1. bool? enablePeopleCounting,
  2. bool? enableVehicleCounting,
})

Implementation

factory PersonVehicleDetectionConfig({
  $core.bool? enablePeopleCounting,
  $core.bool? enableVehicleCounting,
}) {
  final $result = create();
  if (enablePeopleCounting != null) {
    $result.enablePeopleCounting = enablePeopleCounting;
  }
  if (enableVehicleCounting != null) {
    $result.enableVehicleCounting = enableVehicleCounting;
  }
  return $result;
}