DeviceMetadata constructor
DeviceMetadata({})
Implementation
factory DeviceMetadata({
$core.String? firmwareVersion,
$core.int? deviceStateVersion,
$core.bool? canShutdown,
$core.bool? hasWifi,
$core.bool? hasBluetooth,
$core.bool? hasEthernet,
$1.Config_DeviceConfig_Role? role,
$core.int? positionFlags,
HardwareModel? hwModel,
$core.bool? hasRemoteHardware,
$core.bool? hasPKC,
$core.int? excludedModules,
}) {
final result = create();
if (firmwareVersion != null) result.firmwareVersion = firmwareVersion;
if (deviceStateVersion != null)
result.deviceStateVersion = deviceStateVersion;
if (canShutdown != null) result.canShutdown = canShutdown;
if (hasWifi != null) result.hasWifi = hasWifi;
if (hasBluetooth != null) result.hasBluetooth = hasBluetooth;
if (hasEthernet != null) result.hasEthernet = hasEthernet;
if (role != null) result.role = role;
if (positionFlags != null) result.positionFlags = positionFlags;
if (hwModel != null) result.hwModel = hwModel;
if (hasRemoteHardware != null) result.hasRemoteHardware = hasRemoteHardware;
if (hasPKC != null) result.hasPKC = hasPKC;
if (excludedModules != null) result.excludedModules = excludedModules;
return result;
}