Histogram class Null safety

Properties

bucketInfo BucketInfo
Rule used to produce this histogram. Specifies how bucket names are constructed given (library-uri,class-name,function-name) tuples and how these bucket names can be deconstructed back into human readable form.
final
buckets Map<String, int>
Histogram buckets.
final
bySize List<String>
Bucket names sorted by the size of the corresponding bucket in descending order.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
length int
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalSize int
final

Methods

map(String bucketFor(String)) Histogram
Rebuckets the histogram given the new bucketing rule.
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 Methods

fromIterable<T>(Iterable<T> entries, {required int sizeOf(T), required String bucketFor(T), required BucketInfo bucketInfo}) Histogram