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