getCurrentDir function

Directory getCurrentDir(
  1. Directory? workingDir, {
  2. required FileSystem fs,
})

Implementation

Directory getCurrentDir(Directory? workingDir, {required FileSystem fs}) {
  return workingDir ?? fs.currentDirectory;
}