ElectrocardiogramHealthValue class
A HealthValue object for ECGs
Parameters:
- voltageValues - an array of ElectrocardiogramVoltageValue
- averageHeartRate - the average heart rate during the ECG (in BPM)
- samplingFrequency - the frequency at which the Apple Watch sampled the voltage.
- classification - an ElectrocardiogramClassification
- Inheritance
-
- Object
- HealthValue
- ElectrocardiogramHealthValue
Constructors
-
ElectrocardiogramHealthValue({required List<
ElectrocardiogramVoltageValue> voltageValues, required num? averageHeartRate, required double? samplingFrequency, required ElectrocardiogramClassification classification}) - ElectrocardiogramHealthValue.fromJson(dynamic json)
-
factory
Properties
- averageHeartRate ↔ num?
-
getter/setter pair
- classification ↔ 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?
-
getter/setter pair
-
voltageValues
↔ List<
ElectrocardiogramVoltageValue> -
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