ElectrocardiogramHealthValue class

A HealthValue object for ECGs

Parameters:

Inheritance

Constructors

ElectrocardiogramHealthValue({required List<ElectrocardiogramVoltageValue> voltageValues, required num? averageHeartRate, required double? samplingFrequency, required ElectrocardiogramClassification classification})
ElectrocardiogramHealthValue.fromJson(dynamic json)
Parses ElectrocardiogramHealthValue from JSON.
factory

Properties

averageHeartRate num?
The average heart rate during the ECG (in BPM).
getter/setter pair
classification ElectrocardiogramClassification
An ElectrocardiogramClassification.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplingFrequency double?
The frequency at which the Apple Watch sampled the voltage.
getter/setter pair
voltageValues List<ElectrocardiogramVoltageValue>
An array of ElectrocardiogramVoltageValues.
getter/setter pair

Methods

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

Operators

operator ==(Object o) bool
The equality operator.
override