Metrics class Null safety

Register and deregister custom Metrics to be displayed in developer tooling.

Constructors

Metrics()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
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

Static Properties

current UnmodifiableMapView<String, Metric>
The current set of registered Metrics.
read-only

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.