DebtItem constructor
DebtItem({
- required DebtType type,
- required String description,
- required SourceRange location,
- required String filePath,
- String? context,
- DebtSeverity? severity,
- 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;