toFile method

File toFile({
  1. Directory? parentDirectory,
})

Implementation

File toFile({Directory? parentDirectory}) {
  var path = joinPaths(parentDirectory?.path, filePath);
  return File(path);
}