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