Distribution class

Distribution contains summary statistics for a population of values.

It optionally contains a histogram representing the distribution of those values across a set of buckets.The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths.Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the mean and sum_of_squared_deviation fields meaningless.

Constructors

Distribution({List<String>? bucketCounts, BucketOptions? bucketOptions, String? count, List<Exemplar>? exemplars, double? mean, Range? range, double? sumOfSquaredDeviation})
Distribution.fromJson(Map json_)

Properties

bucketCounts List<String>?
Required in the Cloud Monitoring API v3.
getter/setter pair
bucketOptions BucketOptions?
Required in the Cloud Monitoring API v3.
getter/setter pair
count String?
The number of values in the population.
getter/setter pair
exemplars List<Exemplar>?
Must be in increasing order of value field.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mean double?
The arithmetic mean of the values in the population.
getter/setter pair
range Range?
If specified, contains the range of the population values.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sumOfSquaredDeviation double?
The sum of squared deviations from the mean of the values in the population.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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