Sets the value of the metric with the given name in this trace to the value provided
void setMetric(String name, int value) { throw UnimplementedError('setMetric() is not implemented'); }