getDataPoint method
Implementation
Future<List<HealthDataPoint>> getDataPoint(
List<HealthDataType> types,
DateTime start,
DateTime end,
) async {
List<HealthDataPoint> healthData = await health.getHealthDataFromTypes(
startTime: start,
endTime: end,
types: types,
);
return healthData;
}