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