ScoreWeights constructor

const ScoreWeights({
  1. int critical = 25,
  2. int error = 15,
  3. int warning = 5,
  4. int info = 1,
})

Implementation

const ScoreWeights({
  this.critical = 25,
  this.error = 15,
  this.warning = 5,
  this.info = 1,
});