You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it returns - Exception 'Null' is not a subtype of type 'num'<…>
instead of previous date, if I pass the current date it is executing.
Expected behavior
Expected behaviours is list of Electrocardiogram between the given dates.
The text was updated successfully, but these errors were encountered:
jashan55
changed the title
While assigning Predicate to any date before now. Return 'Null' is not a subtype of type 'num'<…>
While assigning Predicate to any date except current date. Getting Exception- 'Null' is not a subtype of type 'num'<…>
Apr 9, 2024
Is there any other way to get all ECG's without providing predicate? I think there is nil option in health kit native query. Do we have that implementation here?
Describe the bug
I am simply trying to query the cardiogram with the following Predicate
final results = await HealthKitReporter.electrocardiogramQuery(
Predicate(
DateTime.now().add(Duration(days: -7)),
DateTime.now(),
),
withVoltageMeasurements: false,
);
it returns - Exception 'Null' is not a subtype of type 'num'<…>
instead of previous date, if I pass the current date it is executing.
Expected behavior
Expected behaviours is list of Electrocardiogram between the given dates.
The text was updated successfully, but these errors were encountered: