AssessmentRun constructor

AssessmentRun({
  1. required String arn,
  2. required String assessmentTemplateArn,
  3. required DateTime createdAt,
  4. required bool dataCollected,
  5. required int durationInSeconds,
  6. required Map<Severity, int> findingCounts,
  7. required String name,
  8. required List<AssessmentRunNotification> notifications,
  9. required List<String> rulesPackageArns,
  10. required AssessmentRunState state,
  11. required DateTime stateChangedAt,
  12. required List<AssessmentRunStateChange> stateChanges,
  13. required List<Attribute> userAttributesForFindings,
  14. DateTime? completedAt,
  15. DateTime? startedAt,
})

Implementation

AssessmentRun({
  required this.arn,
  required this.assessmentTemplateArn,
  required this.createdAt,
  required this.dataCollected,
  required this.durationInSeconds,
  required this.findingCounts,
  required this.name,
  required this.notifications,
  required this.rulesPackageArns,
  required this.state,
  required this.stateChangedAt,
  required this.stateChanges,
  required this.userAttributesForFindings,
  this.completedAt,
  this.startedAt,
});