ImpactResult constructor

ImpactResult({
  1. required List<String> changedFiles,
  2. required List<AffectedTestReason> affectedTests,
  3. required List<String> unaffectedTests,
  4. required int totalTests,
  5. Duration analysisDuration = Duration.zero,
  6. String status = 'safe',
  7. String mode = 'default',
  8. bool isFallback = false,
  9. String? fallbackReason,
  10. String? fallbackExplanation,
  11. String analysisLevel = 'file',
  12. List<String> changedSymbols = const [],
  13. List<SymbolImpactPath> impactPaths = const [],
})

Implementation

ImpactResult({
  required this.changedFiles,
  required this.affectedTests,
  required this.unaffectedTests,
  required this.totalTests,
  this.analysisDuration = Duration.zero,
  this.status = 'safe',
  this.mode = 'default',
  this.isFallback = false,
  this.fallbackReason,
  this.fallbackExplanation,
  this.analysisLevel = 'file',
  this.changedSymbols = const [],
  this.impactPaths = const [],
});