unregisterTask method

void unregisterTask(
  1. Task task
)

Unregister a task.

Implementation

void unregisterTask(final Task task) =>
    tasks.removeWhere((final element) => element.value == task);