dumpDeps method

Future<void> dumpDeps()

List dependencies

Implementation

Future<void> dumpDeps() async {
  var deps = await getResolvedDependencies();
  for (var dep in deps) {
    var packagePath = await getResolvedPackagePath(dep);
    if (packagePath != null) {
      stdout.writeln('$dep: $packagePath');
    } else {
      stdout.writeln('$dep: not found');
    }
  }
}