toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (analyzed != null) 'analyzed': analyzed!,
      if (attribution != null) 'attribution': attribution!,
      if (checksum != null) 'checksum': checksum!,
      if (copyright != null) 'copyright': copyright!,
      if (detailedDescription != null)
        'detailedDescription': detailedDescription!,
      if (downloadLocation != null) 'downloadLocation': downloadLocation!,
      if (externalRefs != null) 'externalRefs': externalRefs!,
      if (filesLicenseInfo != null) 'filesLicenseInfo': filesLicenseInfo!,
      if (homePage != null) 'homePage': homePage!,
      if (licenseDeclared != null) 'licenseDeclared': licenseDeclared!,
      if (originator != null) 'originator': originator!,
      if (packageType != null) 'packageType': packageType!,
      if (summaryDescription != null)
        'summaryDescription': summaryDescription!,
      if (supplier != null) 'supplier': supplier!,
      if (title != null) 'title': title!,
      if (verificationCode != null) 'verificationCode': verificationCode!,
      if (version != null) 'version': version!,
    };