ErrorProcessor constructor

const ErrorProcessor(
  1. String name, [
  2. ErrorSeverity? severity
])

Create an error processor that assigns errors with this code the given severity.

If severity is null, matching errors will be filtered.

Implementation

const ErrorProcessor(this.name, [this.severity]);