DependencyGraph constructor

DependencyGraph(
  1. List<PreloadTask> tasks
)

Implementation

DependencyGraph(this.tasks) : _taskMap = {for (final t in tasks) t.id: t};