childFile function

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

get a child as a file

Implementation

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