ErrorConfig constructor

ErrorConfig(
  1. YamlNode? codeMap
)

Create an error config for the given error code map. For example: new ErrorConfig({'missing_return' : 'error'}); will create a processor config that turns missing_return hints into errors.

Implementation

ErrorConfig(YamlNode? codeMap) {
  _processMap(codeMap);
}