passes method
Whether the site passes at threshold — nothing at that severity
or worse.
Implementation
bool passes({SeoSeverity threshold = SeoSeverity.error}) =>
!findings.any((f) => f.severity.index <= threshold.index);
Whether the site passes at threshold — nothing at that severity
or worse.
bool passes({SeoSeverity threshold = SeoSeverity.error}) =>
!findings.any((f) => f.severity.index <= threshold.index);