description

# Metric class Null safety

Abstract Metric class. Metric names must be unique, are hierarchical, and use periods as separators. For example, 'a.b.c'. Uniqueness is only enforced when a Metric is registered. The name of a metric cannot contain the slash ('/') character.

Implementers
  - Counter
  - Gauge

## Constructors

Metric(String name, String description)

## Properties

description → String
  description of this metric.
  final
hashCode → int
  The hash code for this object. [...]
  read-only, inherited
name → String
  name of this metric.
  final
runtimeType → Type
  A representation of the runtime type of the object.
  read-only, inherited

## Methods

noSuchMethod(Invocation invocation) → dynamic
  Invoked when a non-existent method or property is accessed. [...]
  inherited
toString() → String
  Returns a string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator. [...]
  inherited