Electrocardiogram class
Equivalent of Electrocardiogram from HealthKitReporter https://cocoapods.org/pods/HealthKitReporter
Supports map representation.
Has a Electrocardiogram.fromJson constructor to create instances from JSON payload coming from iOS native code.
Requires ElectrocardiogramType permissions provided.
- Inheritance
-
- Object
- Sample<
ElectrocardiogramHarmonized> - Electrocardiogram
Constructors
- Electrocardiogram(String uuid, String identifier, num startTimestamp, num endTimestamp, Device? device, SourceRevision sourceRevision, ElectrocardiogramHarmonized harmonized, int numberOfMeasurements)
-
const
-
Electrocardiogram.fromJson(Map<
String, dynamic> json) - General constructor from JSON payload
Properties
- device → Device?
-
finalinherited
- endTimestamp → num
-
finalinherited
- harmonized → ElectrocardiogramHarmonized
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
finalinherited
-
map
→ Map<
String, dynamic> -
General map representation
no setteroverride
- numberOfMeasurements → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceRevision → SourceRevision
-
finalinherited
- startTimestamp → num
-
finalinherited
- uuid → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parsed(
) → Map< String, dynamic> -
For saving data, prepares appropriate map
for HealthKitReporter.save
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited