toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (attackExposureResult != null)
'attackExposureResult': attackExposureResult!,
if (exposedHighValueResourcesCount != null)
'exposedHighValueResourcesCount': exposedHighValueResourcesCount!,
if (exposedLowValueResourcesCount != null)
'exposedLowValueResourcesCount': exposedLowValueResourcesCount!,
if (exposedMediumValueResourcesCount != null)
'exposedMediumValueResourcesCount': exposedMediumValueResourcesCount!,
if (latestCalculationTime != null)
'latestCalculationTime': latestCalculationTime!,
if (score != null) 'score': score!,
if (state != null) 'state': state!,
};