toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (changedPolicy != null) 'changedPolicy': changedPolicy!,
      if (name != null) 'name': name!,
      if (policy != null) 'policy': policy!,
      if (policyDriftDetails != null)
        'policyDriftDetails': policyDriftDetails!,
      if (policySet != null) 'policySet': policySet!,
      if (postureDeployment != null) 'postureDeployment': postureDeployment!,
      if (postureDeploymentResource != null)
        'postureDeploymentResource': postureDeploymentResource!,
      if (revisionId != null) 'revisionId': revisionId!,
    };