From 7f298b6b378a3273de35c5c4b7c6541fd9e6870a Mon Sep 17 00:00:00 2001 From: Sebastian Roth Date: Sat, 23 Sep 2023 09:54:15 +0100 Subject: [PATCH] docs: typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e7e9ac7e..e56b260c 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Before registering any task, the WorkManager plugin must be initialized. @pragma('vm:entry-point') // Mandatory if the App is obfuscated or using Flutter 3.1+ void callbackDispatcher() { Workmanager().executeTask((task, inputData) { - print("Native called background task: $backgroundTask"); //simpleTask will be emitted here. + print("Native called background task: $task"); //simpleTask will be emitted here. return Future.value(true); }); }