relativeToCurrent static method
Returns a normalized, absolute path to the specified folder name from the
current working directory. Supporting ../ and ./ traversal
since 0.4.0
Implementation
static String relativeToCurrent(String folder) {
return path.normalize(
const LocalFileSystem()
.currentDirectory
.childDirectory(folder)
.absolute
.path,
);
}