getcwd static method
Returns the path of the current directory.
Implementation
static String getcwd() {
var path = Directory.current.path;
if (_isWindows) {
path = path.replaceAll('\\', '/');
}
return path;
}
Returns the path of the current directory.
static String getcwd() {
var path = Directory.current.path;
if (_isWindows) {
path = path.replaceAll('\\', '/');
}
return path;
}