countBySeverity method
Implementation
int countBySeverity(A11ySeverity severity) =>
violations.where((v) => v.severity == severity).length;
int countBySeverity(A11ySeverity severity) =>
violations.where((v) => v.severity == severity).length;