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