InitCommand constructor
InitCommand({})
Implementation
factory InitCommand({
$core.int? fwVersion,
$core.int? hwVersion,
$core.Iterable<$core.int>? sdReq,
FwType? type,
$core.int? sdSize,
$core.int? blSize,
$core.int? appSize,
Hash? hash,
$core.bool? isDebug,
$core.Iterable<BootValidation>? bootValidation,
}) {
final result = create();
if (fwVersion != null) {
result.fwVersion = fwVersion;
}
if (hwVersion != null) {
result.hwVersion = hwVersion;
}
if (sdReq != null) {
result.sdReq.addAll(sdReq);
}
if (type != null) {
result.type = type;
}
if (sdSize != null) {
result.sdSize = sdSize;
}
if (blSize != null) {
result.blSize = blSize;
}
if (appSize != null) {
result.appSize = appSize;
}
if (hash != null) {
result.hash = hash;
}
if (isDebug != null) {
result.isDebug = isDebug;
}
if (bootValidation != null) {
result.bootValidation.addAll(bootValidation);
}
return result;
}