MetricBody constructor

MetricBody({
  1. Map<String, Object> labels = const {},
  2. String? name,
  3. num? value,
})

Returns a new MetricBody instance.

Implementation

MetricBody({
  this.labels = const {},
  this.name,
  this.value,
});