toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (errorMessage != null) 'errorMessage': errorMessage!,
      if (name != null) 'name': name!,
      if (primaryCategory != null) 'primaryCategory': primaryCategory!,
      if (remediation != null) 'remediation': remediation!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (secondaryCategory != null) 'secondaryCategory': secondaryCategory!,
      if (severity != null) 'severity': severity!,
      if (tags != null) 'tags': tags!,
      if (uri != null) 'uri': uri!,
    };