root property
String
get
root
The project directory, or the current one outside a Flutter project.
Implementation
String get root {
try {
return project.root;
} on LiveCommandException {
return Directory.current.path;
}
}