APIHistogram<T extends num> constructor
APIHistogram<T extends num> (})
Creates a new APIHistogram instrument.
This constructor is typically not called directly. Instead, use APIMeter.createHistogram.
_name The name of the histogram instrument.
_description Optional description of the histogram instrument.
_unit Optional unit of measurement for the histogram.
_meter The meter that created this histogram instrument.
boundaries Optional explicit bucket boundaries for the histogram.
Implementation
APIHistogram(this._name, this._description, this._unit, this._meter,
{List<double>? boundaries})
: _boundaries = boundaries != null ? List.unmodifiable(boundaries) : null;