MetricFamilySamples class Null safety

A MetricFamilySamples groups all samples of a metric family.

Constructors

MetricFamilySamples(String name, MetricType type, String help, List<Sample> samples)
Constructs a new metric family with a name, type, help text and related samples.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
help String
The help text of the metric.
final
name String
The name of the metric.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
samples List<Sample>
The unmodifiable list of samples belonging the this metric family.
final
type MetricType
The type of the metric.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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