subscribeToEvents method
Future<EntitySubscription<EncryptedHealthElement> >
subscribeToEvents(
- Set<
SubscriptionEventType> events, - BaseFilterOptions<
HealthElement> filter, { - EntitySubscriptionConfiguration? subscriptionConfig,
Implementation
Future<EntitySubscription<EncryptedHealthElement>> subscribeToEvents(Set<SubscriptionEventType> events, BaseFilterOptions<HealthElement> filter, { EntitySubscriptionConfiguration? subscriptionConfig }) async {
return await CardinalSdkPlatformInterface.instance.apis.healthElementBasic.subscribeToEvents(
_sdkId,
events,
filter,
subscriptionConfig,
);
}