unregisterTask method
Unregister a task.
Implementation
void unregisterTask(final Task task) =>
tasks.removeWhere((final element) => element.value == task);
Unregister a task.
void unregisterTask(final Task task) =>
tasks.removeWhere((final element) => element.value == task);