toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (affectedLocation != null)
        'affectedLocation': affectedLocation!.toJson(),
      if (effectiveSeverity != null) 'effectiveSeverity': effectiveSeverity!,
      if (fixedLocation != null) 'fixedLocation': fixedLocation!.toJson(),
      if (packageType != null) 'packageType': packageType!,
      if (severityName != null) 'severityName': severityName!,
    };