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