HKDataFactoryImpl class

Implementation of HKDataFactory that creates HealthKit (iOS) data objects from JSON map structures.

Implemented types

Constructors

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

Properties

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

Methods

createBodyTemperature(Map<String, dynamic> data) HKBodyTemperature
Creates an HKBodyTemperature object from JSON map data. Extracts and validates required fields for body temperature measurements.
override
createHeartRate(Map<String, dynamic> data) HKHeartRate
Creates an HKHeartRate object from JSON map data. Extracts and validates required fields for heart rate measurements.
override
createHeartRateVariability(Map<String, dynamic> data) HkHeartRateVariability
Creates an HKHeartRateVariability object from JSON map data. Extracts and validates required fields for heart rate variability measurements.
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