directory method
Returns a reference to a Directory at path
.
path
can be either a `String`
, a `Uri`
, or a `FileSystemEntity`
.
Implementation
@override
Directory directory(dynamic path) =>
LocalDirectory(this, io.Directory(getPath(path)));