addAllTasks method
Adds multiple Task objects to the end of the queue.
Throws an AssertionError if the batch is currently executing.
Implementation
void addAllTasks(Iterable<Task<T>> newTasks) {
_ifNotExecuting(() => tasks.addAll(newTasks));
}
Adds multiple Task objects to the end of the queue.
Throws an AssertionError if the batch is currently executing.
void addAllTasks(Iterable<Task<T>> newTasks) {
_ifNotExecuting(() => tasks.addAll(newTasks));
}