appliesTo method
Check if this processor applies to the given error
.
Note: code is normalized to uppercase; errorCode.name
for regular
analysis issues uses uppercase; errorCode.name
for lints uses lowercase.
Implementation
bool appliesTo(AnalysisError error) =>
code == error.errorCode.name ||
code == error.errorCode.name.toUpperCase();