metricsLevel property

MetricValueLevel get metricsLevel

The highest reported level of a metric.

Implementation

MetricValueLevel get metricsLevel => metrics.isNotEmpty
    ? metrics.map((value) => value.level).max
    : MetricValueLevel.none;