OpenMHealthHeartRateVariability class
Represents a heart rate variability (HRV) measurement according to the OpenMHealth schema (v1.0).
Extends OpenMHealthSchema to provide a standardized representation of HRV measurements. This includes the HRV value, the algorithm used for its calculation, the time frame of the measurement, and optional contextual information such as algorithm details, measurement method, and relationships to physical activity or sleep.
- Inheritance
-
- Object
- OpenMHealthSchema
- OpenMHealthHeartRateVariability
Constructors
- OpenMHealthHeartRateVariability({required UnitValue heartRateVariability, required HrvAlgorithm algorithm, required TimeFrame effectiveTimeFrame, String? algorithmDetails, HrvMeasurementMethod? measurementMethod, DescriptiveStatistic? descriptiveStatistic, TemporalRelationshipToPhysicalActivity? temporalRelationshipToPhysicalActivity, TemporalRelationshipToSleep? temporalRelationshipToSleep})
- Creates an instance of OpenMHealthHeartRateVariability.
Properties
- algorithm → HrvAlgorithm
-
The algorithm used to calculate the heart rate variability (e.g., RMSSD, SDNN).
final
- algorithmDetails → String?
-
Optional additional details about the algorithm used, if any.
final
- descriptiveStatistic → DescriptiveStatistic?
-
Optional descriptive statistic if this value is an aggregate (e.g., average, median) of multiple HRV measurements.
final
- effectiveTimeFrame → TimeFrame
-
The time frame during which this heart rate variability measurement was effectively taken or calculated.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heartRateVariability → UnitValue
-
The heart rate variability value with its unit (e.g., "ms" for RMSSD, SDNN).
final
- measurementMethod → HrvMeasurementMethod?
-
Optional method used to measure the heart rate variability.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaId → String
-
Gets the unique identifier for this OpenMHealth schema.
no setteroverride
- temporalRelationshipToPhysicalActivity → TemporalRelationshipToPhysicalActivity?
-
Optional temporal relationship of this HRV measurement to physical activity.
final
- temporalRelationshipToSleep → TemporalRelationshipToSleep?
-
Optional temporal relationship of this HRV measurement to sleep.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this schema object to its JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited