Electrocardiogram class
An electrocardiogram sample.
Constructors
-
Electrocardiogram({required String uuid, required DateTime start, required DateTime end, required SourceRevision sourceRevision, required int numberOfVoltageMeasurements, required SymptomsStatus symptomsStatus, required Classification classification, Map<
String, double> ? averageHeartRate, Map<String, double> ? samplingFrequency, Map<String, dynamic> ? metadata, Device? device, SampleTypeId type = HKSampleTypeIdentifier.dataElectrocardiogram}) -
Electrocardiogram.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
averageHeartRate
→ Map<
String, double> ? -
The average heart rate.
final
- classification → Classification
-
The classification of the electrocardiogram.
final
- device → Device?
-
The device that collected the sample.
finalinherited
- end → DateTime
-
The end date of the sample.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> ? -
Additional metadata for the sample.
finalinherited
- numberOfVoltageMeasurements → int
-
The number of voltage measurements.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
samplingFrequency
→ Map<
String, double> ? -
The sampling frequency.
final
- sourceRevision → SourceRevision
-
The source revision of the sample.
finalinherited
- start → DateTime
-
The start date of the sample.
finalinherited
- symptomsStatus → SymptomsStatus
-
The symptoms status.
final
- type → SampleTypeId
-
The type of the sample.
finalinherited
- uuid → String
-
The unique identifier of the sample.
finalinherited
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