HCDataFactory class abstract

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

Implementers

Constructors

HCDataFactory()

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

createHeartRate(Map<String, dynamic> data) HealthConnectHeartRate
Creates a heart rate record with samples from Health Connect JSON data.
createHeartRateVariability(Map<String, dynamic> data) HealthConnectHeartRateVariabilityRmssd
createSkinTemperature(Map<String, dynamic> data) HealthConnectSkinTemperature
Creates a skin temperature record with baseline and delta measurements from Health Connect 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