projectRoot property
String
get
projectRoot
This searches for the project root directory, and falls back to the current directory if no project root is found.
See getProjectRoot.
Implementation
String get projectRoot => getProjectRoot(fs);