DiagnosticThresholds constructor

const DiagnosticThresholds({
  1. int cyclomaticComplexity = 20,
  2. int cognitiveComplexity = 15,
  3. double maintainabilityIndex = 50.0,
  4. int linesOfCode = 100,
  5. int parameters = 4,
})

Implementation

const DiagnosticThresholds({
  this.cyclomaticComplexity = 20,
  this.cognitiveComplexity = 15,
  this.maintainabilityIndex = 50.0,
  this.linesOfCode = 100,
  this.parameters = 4,
});