NmFailureGroup constructor

const NmFailureGroup({
  1. required String classification,
  2. required String title,
  3. required int count,
  4. String? code,
  5. NmTone severity = NmTone.danger,
  6. bool retryable = false,
  7. double? share,
  8. String? meaning,
  9. String? detector,
  10. List<String> sampleIds = const [],
})

Creates an NmFailureGroup.

Implementation

const NmFailureGroup({
  required this.classification,
  required this.title,
  required this.count,
  this.code,
  this.severity = NmTone.danger,
  this.retryable = false,
  this.share,
  this.meaning,
  this.detector,
  this.sampleIds = const [],
});