MetricRule constructor
Implementation
factory MetricRule({
$core.String? selector,
$core.Map<$core.String, $fixnum.Int64>? metricCosts,
}) {
final _result = create();
if (selector != null) {
_result.selector = selector;
}
if (metricCosts != null) {
_result.metricCosts.addAll(metricCosts);
}
return _result;
}