OccupancyCountConfig constructor

OccupancyCountConfig({
  1. bool? enablePeopleCounting,
  2. bool? enableVehicleCounting,
  3. bool? enableDwellingTimeTracking,
})

Implementation

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