setMetric method

void setMetric(
  1. String name,
  2. int value
)

Sets the value of the metric with the given name in this trace to the value provided

Implementation

void setMetric(String name, int value) {
  throw UnimplementedError('setMetric() is not implemented');
}