getHeartrateVariability method

Future<Response<List<Measurement>>> getHeartrateVariability(
  1. String userId,
  2. DateTime startDate, {
  3. DateTime? endDate,
  4. String? provider,
})

Implementation

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