ModuleConfig constructor
ModuleConfig({
- ModuleConfig_MQTTConfig? mqtt,
- ModuleConfig_SerialConfig? serial,
- ModuleConfig_ExternalNotificationConfig? externalNotification,
- ModuleConfig_StoreForwardConfig? storeForward,
- ModuleConfig_RangeTestConfig? rangeTest,
- ModuleConfig_TelemetryConfig? telemetry,
- ModuleConfig_CannedMessageConfig? cannedMessage,
- ModuleConfig_AudioConfig? audio,
- ModuleConfig_RemoteHardwareConfig? remoteHardware,
- ModuleConfig_NeighborInfoConfig? neighborInfo,
- ModuleConfig_AmbientLightingConfig? ambientLighting,
- ModuleConfig_DetectionSensorConfig? detectionSensor,
- ModuleConfig_PaxcounterConfig? paxcounter,
Implementation
factory ModuleConfig({
ModuleConfig_MQTTConfig? mqtt,
ModuleConfig_SerialConfig? serial,
ModuleConfig_ExternalNotificationConfig? externalNotification,
ModuleConfig_StoreForwardConfig? storeForward,
ModuleConfig_RangeTestConfig? rangeTest,
ModuleConfig_TelemetryConfig? telemetry,
ModuleConfig_CannedMessageConfig? cannedMessage,
ModuleConfig_AudioConfig? audio,
ModuleConfig_RemoteHardwareConfig? remoteHardware,
ModuleConfig_NeighborInfoConfig? neighborInfo,
ModuleConfig_AmbientLightingConfig? ambientLighting,
ModuleConfig_DetectionSensorConfig? detectionSensor,
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 (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;
}