ProtoFirmwareUpgradeConfiguration constructor
ProtoFirmwareUpgradeConfiguration({
- Int64? estimatedSwapTimeMs,
- bool? eraseAppSettings,
- Int64? pipelineDepth,
- ProtoFirmwareUpgradeConfiguration_ImageUploadAlignment? byteAlignment,
- Int64? reassemblyBufferSize,
- ProtoFirmwareUpgradeConfiguration_FirmwareUpgradeMode? firmwareUpgradeMode,
Implementation
factory ProtoFirmwareUpgradeConfiguration({
$fixnum.Int64? estimatedSwapTimeMs,
$core.bool? eraseAppSettings,
$fixnum.Int64? pipelineDepth,
ProtoFirmwareUpgradeConfiguration_ImageUploadAlignment? byteAlignment,
$fixnum.Int64? reassemblyBufferSize,
ProtoFirmwareUpgradeConfiguration_FirmwareUpgradeMode? firmwareUpgradeMode,
}) {
final $result = create();
if (estimatedSwapTimeMs != null) {
$result.estimatedSwapTimeMs = estimatedSwapTimeMs;
}
if (eraseAppSettings != null) {
$result.eraseAppSettings = eraseAppSettings;
}
if (pipelineDepth != null) {
$result.pipelineDepth = pipelineDepth;
}
if (byteAlignment != null) {
$result.byteAlignment = byteAlignment;
}
if (reassemblyBufferSize != null) {
$result.reassemblyBufferSize = reassemblyBufferSize;
}
if (firmwareUpgradeMode != null) {
$result.firmwareUpgradeMode = firmwareUpgradeMode;
}
return $result;
}