ModuleConfig_DetectionSensorConfig constructor
ModuleConfig_DetectionSensorConfig({})
Implementation
factory ModuleConfig_DetectionSensorConfig({
$core.bool? enabled,
$core.int? minimumBroadcastSecs,
$core.int? stateBroadcastSecs,
$core.bool? sendBell,
$core.String? name,
$core.int? monitorPin,
ModuleConfig_DetectionSensorConfig_TriggerType? detectionTriggerType,
$core.bool? usePullup,
}) {
final result = create();
if (enabled != null) result.enabled = enabled;
if (minimumBroadcastSecs != null)
result.minimumBroadcastSecs = minimumBroadcastSecs;
if (stateBroadcastSecs != null)
result.stateBroadcastSecs = stateBroadcastSecs;
if (sendBell != null) result.sendBell = sendBell;
if (name != null) result.name = name;
if (monitorPin != null) result.monitorPin = monitorPin;
if (detectionTriggerType != null)
result.detectionTriggerType = detectionTriggerType;
if (usePullup != null) result.usePullup = usePullup;
return result;
}