DartPackage.resolve constructor
DartPackage.resolve(
- String path
Construct an instance with the specified path
.
The given path
will be absolute
d and normalize
d,
that you can specify even a relative path to current working directory.
But when there's already an instance of Directory or its absolute path,
the unnamed constructor might be a more efficient way.
Implementation
DartPackage.resolve(String path)
: root = Directory(normalize(absolute(path)));