toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cisBenchmark != null) 'cisBenchmark': cisBenchmark!,
      if (description != null) 'description': description!,
      if (impact != null) 'impact': impact!,
      if (rationale != null) 'rationale': rationale!,
      if (remediation != null) 'remediation': remediation!,
      if (scanInstructions != null) 'scanInstructions': scanInstructions!,
      if (title != null) 'title': title!,
      if (version != null) 'version': version!,
    };