notificationService function
- @Riverpod(keepAlive: true)
Implementation
@Riverpod(keepAlive: true)
NotificationService? notificationService(Ref ref) {
if (kIsWeb) return null;
return NotificationService();
}
@Riverpod(keepAlive: true)
NotificationService? notificationService(Ref ref) {
if (kIsWeb) return null;
return NotificationService();
}