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