import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:riverpod_annotation/riverpod_annotation.dart'; import 'hashtag_service.dart'; import 'notification_services.dart'; part 'cache_clear_service.g.dart'; @riverpod bool cacheClearService(Ref ref) { ref.read(hashtagServiceProvider().notifier).clear(); ref.invalidate(notificationsManagerProvider); return true; }