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