Skip to content

Commit

Permalink
docs: typo (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
ened authored Sep 23, 2023
1 parent ab8a80a commit 1ecec8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down

0 comments on commit 1ecec8d

Please sign in to comment.