HealthConnectHeartRateVariabilityRmssd class

Represents a single Heart Rate Variability (HRV) record focused on the RMSSD (Root Mean Square of Successive Differences) metric, specifically for integration with Health Connect.

This class encapsulates the RMSSD value, the time of the measurement, optional timezone offset, and associated metadata. It implements HealthConnectData to standardize its structure for Health Connect services.

Implemented types
Available extensions

Constructors

HealthConnectHeartRateVariabilityRmssd({required DateTime time, int? zoneOffset, required double heartRateVariabilityMillis, required HealthConnectMetadata metadata})
Creates an instance of HealthConnectHeartRateVariabilityRmssd.

Properties

hashCode int
The hash code for this object.
no setterinherited
heartRateVariabilityMillis double
The Heart Rate Variability RMSSD value, measured in milliseconds (ms). RMSSD is a time-domain measure reflecting short-term, high-frequency HRV.
getter/setter pair
metadata HealthConnectMetadata
Metadata associated with this HRV RMSSD record. This can include information about the data source, device, recording method, etc.
getter/setter pair
metric HealthConnectHealthMetric
Returns the specific HealthConnectHealthMetric type for this data.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time DateTime
The exact date and time when the HRV RMSSD was measured or recorded.
getter/setter pair
zoneOffset int?
Optional. The timezone offset from UTC for the time of the measurement, in seconds. For example, UTC-5 would be -18000.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this HealthConnectHeartRateVariabilityRmssd instance to a JSON map.
toOpenMHealth() List<OpenMHealthSchema>

Available on HealthConnectData, provided by the OpenMHealthConverter extension

Converts this HealthConnectData instance to OpenMHealth schema format.
toOpenMHealthHeartRateVariabilityRmssd() List<OpenMHealthHeartRateVariability>

Available on HealthConnectHeartRateVariabilityRmssd, provided by the OpenMHealthHeartRateVariabilityConverter extension

Converts this HealthConnectHeartRateVariabilityRmssd object into a list containing a single OpenMHealthHeartRateVariability object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited