deregister method

void deregister (
  1. Metric metric
)

Deregister Metrics to make them not visible to Observatory.

Implementation

static void deregister(Metric metric) {
  ArgumentError.checkNotNull(metric, 'metric');
  _metrics.remove(metric.name);
}