ProtoUpdateStateChanges constructor
ProtoUpdateStateChanges({
- ProtoUpdateStateChanges_FirmwareUpgradeState? oldState,
- ProtoUpdateStateChanges_FirmwareUpgradeState? newState,
- bool? canceled,
Implementation
factory ProtoUpdateStateChanges({
ProtoUpdateStateChanges_FirmwareUpgradeState? oldState,
ProtoUpdateStateChanges_FirmwareUpgradeState? newState,
$core.bool? canceled,
}) {
final $result = create();
if (oldState != null) {
$result.oldState = oldState;
}
if (newState != null) {
$result.newState = newState;
}
if (canceled != null) {
$result.canceled = canceled;
}
return $result;
}