appliesTo method

  1. @visibleForTesting
bool appliesTo(
  1. Diagnostic diagnostic
)

Check if this processor applies to the given diagnostic.

Implementation

@visibleForTesting
bool appliesTo(Diagnostic diagnostic) =>
    code == diagnostic.diagnosticCode.lowerCaseName;