Metrics class
Register and deregister custom Metrics to be displayed in developer tooling.
- Annotations
-
- @Deprecated('Metrics are deprecated and will be removed in Dart 3.0')
Constructors
- Metrics()
Properties
- hashCode → int read-onlyinherited
- The hash code for this object.
- 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.
Static Properties
- current → UnmodifiableMapView<
String, Metric> read-only - The current set of registered
Metrics.
Static Methods
- deregister(
Metric metric) → void - Deregister Metrics to make them not visible to developer tooling.
- register(
Metric metric) → void - Register Metrics to make them visible to developer tooling.
© 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/Metrics-class.html