getResult method

TaskResult? getResult(
  1. String taskId
)

Get the result of a completed task.

Implementation

TaskResult? getResult(String taskId) => _tasks[taskId]?.result;