toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (homepageUrl != null) {
    _json[r'homepage_url'] = homepageUrl;
  }
  if (iconData != null) {
    _json[r'icon_data'] = iconData;
  }
  if (downloadUrl != null) {
    _json[r'download_url'] = downloadUrl;
  }
  if (releaseNotesUrl != null) {
    _json[r'release_notes_url'] = releaseNotesUrl;
  }
  _json[r'labels'] = labels;
  if (signature != null) {
    _json[r'signature'] = signature;
  }
  if (manifest != null) {
    _json[r'manifest'] = manifest;
  }
  if (installedVersion != null) {
    _json[r'installed_version'] = installedVersion;
  }
  return _json;
}