childFile function

File childFile(
  1. Directory dir,
  2. String sub
)

get a child as a file

Implementation

File childFile(Directory dir, String sub) {
  return dir.fs.file(dir.fs.path.join(dir.path, sub));
}