OnTaskCompleted typedef - core.threading library - Dart API
OnTaskCompleted
OnTaskCompleted typedef
The method will be called on the main thread when a task call has been completed.
taskOutcomeThe task outcome
Implementation
typedef OnTaskCompleted = void Function(TaskOutcome taskOutcome);