getCholesterol method
Future<Response<List<Measurement> > >
getCholesterol(
- CholesterolType cholesterolType,
- String userId,
- DateTime startDate, {
- DateTime? endDate,
- String? provider,
Implementation
Future<Response<List<Measurement>>> getCholesterol(
CholesterolType cholesterolType,
String userId,
DateTime startDate, {
DateTime? endDate,
String? provider,
}) {
return _timeseriesRequest(
userId,
'${_ResourceType.cholesterol.toRequestQuery}/${cholesterolType.name}',
startDate.toIso8601String(),
endDate: endDate?.toIso8601String(),
provider: provider,
);
}