toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (analysisCompleted != null) 'analysisCompleted': analysisCompleted!,
      if (analysisError != null) 'analysisError': analysisError!,
      if (analysisStatus != null) 'analysisStatus': analysisStatus!,
      if (analysisStatusError != null)
        'analysisStatusError': analysisStatusError!,
      if (archiveTime != null) 'archiveTime': archiveTime!,
      if (continuousAnalysis != null)
        'continuousAnalysis': continuousAnalysis!,
      if (cpe != null) 'cpe': cpe!,
      if (lastScanTime != null) 'lastScanTime': lastScanTime!,
      if (sbomStatus != null) 'sbomStatus': sbomStatus!,
    };