DeviceConfig constructor
DeviceConfig({
- String? name,
- Timestamp? startedAfter,
- String? sdk,
- DeviceBrokerSettings? broker,
- DeviceConnectionSettings? connection,
- String? model,
- Timestamp? factoryAfter,
- DeviceRuntimeSettings? runtime,
- DeviceModulesConfig? modules,
- DeviceModelSettings? modelSettings,
Implementation
factory DeviceConfig({
$core.String? name,
$0.Timestamp? startedAfter,
$core.String? sdk,
DeviceBrokerSettings? broker,
DeviceConnectionSettings? connection,
$core.String? model,
$0.Timestamp? factoryAfter,
DeviceRuntimeSettings? runtime,
DeviceModulesConfig? modules,
DeviceModelSettings? modelSettings,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (startedAfter != null) {
_result.startedAfter = startedAfter;
}
if (sdk != null) {
_result.sdk = sdk;
}
if (broker != null) {
_result.broker = broker;
}
if (connection != null) {
_result.connection = connection;
}
if (model != null) {
_result.model = model;
}
if (factoryAfter != null) {
_result.factoryAfter = factoryAfter;
}
if (runtime != null) {
_result.runtime = runtime;
}
if (modules != null) {
_result.modules = modules;
}
if (modelSettings != null) {
_result.modelSettings = modelSettings;
}
return _result;
}