HistogramChild class

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.
no setter
count double
Access the count of elements in a histogram with labels.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sum double
Access the total sum of the elements in a histogram with labels.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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