LocalModuleConfig constructor
LocalModuleConfig({
- ModuleConfig_MQTTConfig? mqtt,
- ModuleConfig_SerialConfig? serial,
- ModuleConfig_ExternalNotificationConfig? externalNotification,
- ModuleConfig_StoreForwardConfig? storeForward,
- ModuleConfig_RangeTestConfig? rangeTest,
- ModuleConfig_TelemetryConfig? telemetry,
- ModuleConfig_CannedMessageConfig? cannedMessage,
- int? version,
- ModuleConfig_AudioConfig? audio,
- ModuleConfig_RemoteHardwareConfig? remoteHardware,
- ModuleConfig_NeighborInfoConfig? neighborInfo,
- ModuleConfig_AmbientLightingConfig? ambientLighting,
- ModuleConfig_DetectionSensorConfig? detectionSensor,
- ModuleConfig_PaxcounterConfig? paxcounter,
Implementation
factory LocalModuleConfig({
$1.ModuleConfig_MQTTConfig? mqtt,
$1.ModuleConfig_SerialConfig? serial,
$1.ModuleConfig_ExternalNotificationConfig? externalNotification,
$1.ModuleConfig_StoreForwardConfig? storeForward,
$1.ModuleConfig_RangeTestConfig? rangeTest,
$1.ModuleConfig_TelemetryConfig? telemetry,
$1.ModuleConfig_CannedMessageConfig? cannedMessage,
$core.int? version,
$1.ModuleConfig_AudioConfig? audio,
$1.ModuleConfig_RemoteHardwareConfig? remoteHardware,
$1.ModuleConfig_NeighborInfoConfig? neighborInfo,
$1.ModuleConfig_AmbientLightingConfig? ambientLighting,
$1.ModuleConfig_DetectionSensorConfig? detectionSensor,
$1.ModuleConfig_PaxcounterConfig? paxcounter,
}) {
final result = create();
if (mqtt != null) result.mqtt = mqtt;
if (serial != null) result.serial = serial;
if (externalNotification != null)
result.externalNotification = externalNotification;
if (storeForward != null) result.storeForward = storeForward;
if (rangeTest != null) result.rangeTest = rangeTest;
if (telemetry != null) result.telemetry = telemetry;
if (cannedMessage != null) result.cannedMessage = cannedMessage;
if (version != null) result.version = version;
if (audio != null) result.audio = audio;
if (remoteHardware != null) result.remoteHardware = remoteHardware;
if (neighborInfo != null) result.neighborInfo = neighborInfo;
if (ambientLighting != null) result.ambientLighting = ambientLighting;
if (detectionSensor != null) result.detectionSensor = detectionSensor;
if (paxcounter != null) result.paxcounter = paxcounter;
return result;
}