health library
Properties
-
syncStatus
→ Stream<
SyncStatus> -
no setter
Functions
-
askForPermission(
List< HealthResource> readResources, List<HealthResourceWrite> writeResources) → Future<PermissionOutcome> -
cleanUp(
) → Future< void> -
configure(
{HealthConfig config = const HealthConfig()}) → Future< void> -
hasAskedForPermission(
HealthResource resource) → Future< bool> -
isAvailable(
) → Future< bool> -
Android: Whether Health Connect is available on the current device.
iOS: Always return
true
. -
read(
HealthResource resource, DateTime startDate, DateTime endDate) → Future< ProcessedData?> -
syncData(
{List< HealthResource> ? resources}) → Future<void> -
writeHealthData(
HealthResourceWrite writeResource, DateTime startDate, DateTime endDate, double value) → Future< void>