add annotation to function

This commit is contained in:
hihihaha 2023-06-10 20:39:06 +02:00
parent 07bbafe7dd
commit cf81ca8207

View File

@ -13,6 +13,7 @@ import 'package:filcnaplo_kreta_api/providers/grade_provider.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart'; import 'package:flutter_local_notifications/flutter_local_notifications.dart';
class NotificationsHelper { class NotificationsHelper {
@pragma('vm:entry-point')
void backgroundJob() async { void backgroundJob() async {
// initialize providers // initialize providers
FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin =