Metric class
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 final
- description of this metric.
- hashCode → int read-onlyinherited
- The hash code for this object.
- name → String final
- name of this metric.
- runtimeType → Type read-onlyinherited
- A representation of the runtime type of the object.
Methods
- noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed.
- toString(
) → String inherited - A string representation of this object.
Operators
- operator ==(
Object other) → bool inherited - The equality operator.
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-developer/Metric-class.html