Violation constructor

Violation({
  1. String? assetId,
  2. String? nextSteps,
  3. String? policyId,
  4. String? severity,
  5. AssetDetails? violatedAsset,
  6. PolicyDetails? violatedPolicy,
  7. PostureDetails? violatedPosture,
})

Implementation

Violation({
  this.assetId,
  this.nextSteps,
  this.policyId,
  this.severity,
  this.violatedAsset,
  this.violatedPolicy,
  this.violatedPosture,
});