getMeters method

Map<String, Meter> getMeters({
  1. MetricFilter? where,
})

Returns a map of all the meters in the registry and their names which match the given where.

Implementation

Map<String, Meter> getMeters({MetricFilter? where}) =>
    _getMetrics((name, metric) =>
        metric is Meter && (where == null || where(name, metric)));