metric method

MetricData<X, Y> metric(
  1. Metric<S> metric
)

Filter this data by a given metric.

This will return the points provided by the given metric.

Implementation

MetricData<X, Y> metric(Metric<S> metric) => _onMetricData(
    _values.map((event) => event.points[metric]).whereType<Point3<X, Y>>());