OpenMHealthBodyTemperature class
Represents a body temperature measurement according to the OpenMHealth schema (v4.0).
Extends OpenMHealthSchema to provide a standardized representation of body temperature measurements, including the temperature value, time frame, and optional context such as measurement location and relationship to sleep.
- Inheritance
-
- Object
- OpenMHealthSchema
- OpenMHealthBodyTemperature
Constructors
- OpenMHealthBodyTemperature({required TemperatureUnitValue bodyTemperature, required TimeFrame effectiveTimeFrame, DescriptiveStatistic? descriptiveStatistic, MeasurementLocation? measurementLocation, TemporalRelationshipToSleep? temporalRelationshipToSleep})
- Creates a new body temperature measurement.
Properties
- bodyTemperature → TemperatureUnitValue
-
The temperature value with its unit (typically Celsius or Fahrenheit).
final
- descriptiveStatistic → DescriptiveStatistic?
-
Optional statistical context if this value represents an aggregate of measurements.
final
- effectiveTimeFrame → TimeFrame
-
The time frame when this measurement was taken.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- measurementLocation → MeasurementLocation?
-
Optional anatomical location where the temperature was measured.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaId → String
-
The schema identifier for OpenMHealth body temperature measurements (version 4.0).
no setteroverride
- temporalRelationshipToSleep → TemporalRelationshipToSleep?
-
Optional relationship of this measurement to the subject's sleep cycle.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this body temperature measurement to its JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited