DebtItem constructor

DebtItem({
  1. required DebtType type,
  2. required String description,
  3. required SourceRange location,
  4. required String filePath,
  5. String? context,
  6. DebtSeverity? severity,
  7. String? sourceCode,
})

Implementation

DebtItem({
  required this.type,
  required this.description,
  required this.location,
  required this.filePath,
  this.context,
  DebtSeverity? severity,
  this.sourceCode,
}) : severity = severity ?? type.defaultSeverity;