overallSeverity property

Severity? get overallSeverity

Fetch the overall Security

Implementation

Severity? get overallSeverity {
		final indexes = [for (final metric in allMetrics) metric.severity?.index ?? -1];
		final index = indexes.reduce(max);
  if (index == -1) return null;
		return Severity.values[index];
	}