MetricValue constructor
MetricValue({})
Implementation
factory MetricValue({
$core.Iterable<$core.MapEntry<$core.String, $core.String>>? labels,
$0.Timestamp? startTime,
$0.Timestamp? endTime,
$core.bool? boolValue,
$fixnum.Int64? int64Value,
$core.double? doubleValue,
$core.String? stringValue,
$1.Distribution? distributionValue,
}) {
final result = create();
if (labels != null) result.labels.addEntries(labels);
if (startTime != null) result.startTime = startTime;
if (endTime != null) result.endTime = endTime;
if (boolValue != null) result.boolValue = boolValue;
if (int64Value != null) result.int64Value = int64Value;
if (doubleValue != null) result.doubleValue = doubleValue;
if (stringValue != null) result.stringValue = stringValue;
if (distributionValue != null) result.distributionValue = distributionValue;
return result;
}