ErrorProcessor constructor
ErrorProcessor(
- String code, [
- DiagnosticSeverity? severity
Create an error processor that assigns errors with this code the
given severity.
If severity is null, matching errors will be filtered.
Implementation
ErrorProcessor(String code, [this.severity]) : code = code.toLowerCase();