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