isIgnorable property

bool get isIgnorable

Whether a finding of this error is ignorable via comments such as // ignore: or // ignore_for_file:.

Implementation

bool get isIgnorable => errorSeverity != ErrorSeverity.ERROR;