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
Annotations
  • @Deprecated('Metrics are deprecated and will be removed in Dart 3.0')

Constructors

Metric(String name, String description)

Properties

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

Methods

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

Operators

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