failsAt method

bool failsAt(
  1. Severity threshold
)

Whether any finding is at least as serious as threshold.

Implementation

bool failsAt(Severity threshold) =>
    findings.any((f) => f.severity.atLeast(threshold));