Violation constructor
const
Violation({
- required String ruleId,
- required String message,
- required SourceRange location,
- required RuleSeverity severity,
- String? suggestion,
- String? sourceCode,
Implementation
const Violation({
required this.ruleId,
required this.message,
required this.location,
required this.severity,
this.suggestion,
this.sourceCode,
});