MetricDatapoint class

Describes the metric data point.

Constructors

MetricDatapoint({double? average, double? maximum, double? minimum, double? sampleCount, double? sum, DateTime? timestamp, MetricUnit? unit})
MetricDatapoint.fromJson(Map<String, dynamic> json)
factory

Properties

average double?
The average.
final
hashCode int
The hash code for this object.
no setterinherited
maximum double?
The maximum.
final
minimum double?
The minimum.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleCount double?
The sample count.
final
sum double?
The sum.
final
timestamp DateTime?
The timestamp (e.g., 1479816991.349).
final
unit MetricUnit?
The unit.
final

Methods

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

Operators

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