rootPath top-level property
String
get
rootPath
Returns the root path of your file system.
On Linux and MacOS this will be /
On Windows this will be 'C:\
The drive letter will depend on the drive of your present working directory (pwd).
Implementation
String get rootPath => rootPrefix(pwd);