From 1ecec8d950d19d4affc7448d73111edb7da763c0 Mon Sep 17 00:00:00 2001 From: Sebastian Roth Date: Sat, 23 Sep 2023 09:56:30 +0100 Subject: [PATCH] docs: typo (#508) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e7e9ac7..e56b260 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); }); }