getHeartrate method
Implementation
Future<Response<List<Measurement>>> getHeartrate(
String userId,
DateTime startDate, {
DateTime? endDate,
String? provider,
}) {
return _timeseriesRequest(
userId,
_ResourceType.heartrate.toRequestQuery,
startDate.toIso8601String(),
endDate: endDate?.toIso8601String(),
provider: provider,
);
}