toJson method

Map<String, dynamic> toJson()

Implementation

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