HCDataFactoryImpl class

Implementation of HCDataFactory that creates Health Connect (Android) data objects from JSON map structures.

Implemented types

Constructors

HCDataFactoryImpl(JsonConverter converter)
Creates a new factory with the specified JSON converter.

Properties

converter JsonConverter
JSON converter for safe type extraction.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createHeartRate(Map<String, dynamic> data) HealthConnectHeartRate
Creates a HealthConnectHeartRate object from JSON map data. Extracts and validates all required fields, handling time conversions and sample collection.
override
createHeartRateVariability(Map<String, dynamic> data) HealthConnectHeartRateVariabilityRmssd
Creates a HealthConnectHeartRateVariabilityRmssd object from JSON map data. Extracts heart rate variability, time details and metadata.
override
createSkinTemperature(Map<String, dynamic> data) HealthConnectSkinTemperature
Creates a HealthConnectSkinTemperature object from JSON map data. Extracts temperature baseline, delta measurements, and metadata.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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