From cf81ca820746e62a2b346ea2537659f2762ab6cf Mon Sep 17 00:00:00 2001 From: hihihaha Date: Sat, 10 Jun 2023 20:39:06 +0200 Subject: [PATCH] add annotation to function --- filcnaplo/lib/helpers/notification_helper.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/filcnaplo/lib/helpers/notification_helper.dart b/filcnaplo/lib/helpers/notification_helper.dart index acc3a87..ec7ae41 100644 --- a/filcnaplo/lib/helpers/notification_helper.dart +++ b/filcnaplo/lib/helpers/notification_helper.dart @@ -13,6 +13,7 @@ import 'package:filcnaplo_kreta_api/providers/grade_provider.dart'; import 'package:flutter_local_notifications/flutter_local_notifications.dart'; class NotificationsHelper { + @pragma('vm:entry-point') void backgroundJob() async { // initialize providers FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin =