Metric constructor
Implementation
factory Metric({
$core.Map<$core.String, $core.String>? labels,
$core.String? type,
}) {
final _result = create();
if (labels != null) {
_result.labels.addAll(labels);
}
if (type != null) {
_result.type = type;
}
return _result;
}