describeViolations method
Implementation
String describeViolations() {
final header =
'Found the following violations in package ${package.name}:\n';
final body = violations.map(_createDescription).join('\n\n');
return '$header\n$body';
}