OpenMHealthHeartRate constructor
OpenMHealthHeartRate({})
Creates a new heart rate measurement.
@param heartRate The heart rate value with its unit. @param effectiveTimeFrame When the measurement was taken. @param descriptiveStatistic Optional statistical context for aggregated values. @param temporalRelationshipToPhysicalActivity Optional relationship to physical activity. @param temporalRelationshipToSleep Optional relationship to sleep cycle.
Implementation
OpenMHealthHeartRate({
required this.heartRate,
required this.effectiveTimeFrame,
this.descriptiveStatistic,
this.temporalRelationshipToPhysicalActivity,
this.temporalRelationshipToSleep,
});