ExponentialHistogram constructor
ExponentialHistogram({
- Iterable<
ExponentialHistogramDataPoint> ? dataPoints, - AggregationTemporality? aggregationTemporality,
Implementation
factory ExponentialHistogram({
$core.Iterable<ExponentialHistogramDataPoint>? dataPoints,
AggregationTemporality? aggregationTemporality,
}) {
final $result = create();
if (dataPoints != null) {
$result.dataPoints.addAll(dataPoints);
}
if (aggregationTemporality != null) {
$result.aggregationTemporality = aggregationTemporality;
}
return $result;
}