getGlucose method

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

Implementation

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