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