realDeleteNotificationTokenUseCaseProvider top-level property

Provider<DeleteNotificationTokenUseCase> realDeleteNotificationTokenUseCaseProvider
final

Provides a use case for deleting the current user's notification token with the backend using API calls.

Implementation

final realDeleteNotificationTokenUseCaseProvider =
    Provider<DeleteNotificationTokenUseCase>(
  (ref) {
    final deviceId = ref.watch(deviceIdProvider.future);

    return ApiDeleteNotificationTokenUseCase(deviceId);
  },
);