getData abstract method

Retrieves health data for the specified metrics within a time range. Returns a list of health data records that match the criteria.

Implementation

Future<List<HealthKitData>> getData(
  List<HealthKitHealthMetric> metrics,
  DateTimeRange timeRange,
);