APIUpDownCounter<T extends num> constructor

APIUpDownCounter<T extends num>(
  1. String _name,
  2. String? _description,
  3. String? _unit,
  4. APIMeter _meter,
)

Creates a new APIUpDownCounter instrument.

This constructor is typically not called directly. Instead, use APIMeter.createUpDownCounter.

_name The name of the up-down counter instrument. _description Optional description of the up-down counter instrument. _unit Optional unit of measurement for the up-down counter. _meter The meter that created this up-down counter instrument.

Implementation

APIUpDownCounter(
  this._name,
  this._description,
  this._unit,
  this._meter,
);