directory method

Directory directory(
  1. List<String> paths
)

Get a directory according to the relative path to package root.

Implementation

Directory directory(List<String> paths) =>
    Directory(joinAll([root.path, ...paths]));