getMetric method

int getMetric(
  1. String name
)

Gets the value of the metric with the given name in the current trace.

Implementation

int getMetric(String name) {
  throw UnimplementedError('getMetric() is not implemented');
}