ErrorConfig class
Error processor configuration derived from analysis (or embedder) options.
Constructors
-
ErrorConfig([Map<
String, String> ? 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.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
processors
→ List<
ErrorProcessor> -
The processors in this config.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
ignoreWords
→ const List<
String>