HKDataFactory class abstract

Defines interface for creating HealthKit (iOS) data objects from JSON map data. Abstracts the creation logic for various health metrics collected from iOS devices.

Implementers

Constructors

HKDataFactory()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createBodyTemperature(Map<String, dynamic> data) HKBodyTemperature
Creates a body temperature record from HealthKit JSON data.
createHeartRate(Map<String, dynamic> data) HKHeartRate
Creates a heart rate record from HealthKit JSON data.
createHeartRateVariability(Map<String, dynamic> data) HkHeartRateVariability
Creates a heart rate variability record from HealthKit JSON data.
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