FunctionTask constructor

FunctionTask({
  1. String? name,
  2. String? description,
  3. VoidFunction? function,
})

Create a function task that executed function when resumed.

Implementation

FunctionTask({super.name, super.description, this.function});