toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (upgradeImage != null) 'upgradeImage': upgradeImage!,
if (upgradeInfo != null) 'upgradeInfo': upgradeInfo!,
if (upgradeVersion != null) 'upgradeVersion': upgradeVersion!,
if (upgradeable != null) 'upgradeable': upgradeable!,
};