HistogramChild class Null safety

Defines a HistogramChild of a Histogram with assigned labelValues.

Properties

buckets List<double>
The upper bounds of the buckets.
final
bucketValues List<double>
Access the values in the buckets of a histogram with labels.
read-only
count double
Access the count of elements in a histogram with labels.
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sum double
Access the total sum of the elements in a histogram with labels.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
observe(double v) → void
Observe a new value v and store it in the corresponding buckets of a histogram with labels.
observeDuration<T>(Future<T> f) Future<T>
Observe the duration of the Future f and store it in the corresponding buckets of a histogram with labels.
observeDurationSync<T>(T callback()) → T
Observe the duration of callback and store it in the corresponding buckets of a histogram with labels.
toString() String
A string representation of this object.
inherited

Operators

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