resolve method
Implementation
ResolvedHook resolve(List<String> filePaths) {
final resolvedTasks = tasks.indexed.map((e) {
final (index, task) = e;
return task.resolve(filePaths, index + 1);
}).toList();
return ResolvedHook(
filePaths: filePaths,
tasks: resolvedTasks,
);
}