getBloodOxygen method

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

Implementation

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