TaskExecution constructor

TaskExecution({
  1. Task? task,
  2. void terminate()?,
})

Implementation

factory TaskExecution({
  _i3.Task? task,
  void Function()? terminate,
}) =>
    TaskExecution._(
      task: task ?? _i6.undefined,
      terminate: terminate == null ? null : _i5.allowInterop(terminate),
    );