Separate out VM dependencies.

The Packages interface class should not depend on a platform specific
library (dart:io).
This removed the dependency, and also splits the implementation
classes into those that are generally applicable and those that
requite dart:io to operate (the "local packages directory" which
allows iterating the package names by scanning the directory).

Bump version to 0.0.2+4
6 files changed
tree: c694294f7ca539708b9056f2aeb6d994773ff9bd
  1. pkgs/