toJson method

Map<String, dynamic> toJson()

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!,
    };