hasRoot method
Returns true if the Path has a root.
Implementation
bool hasRoot() => isWindows ? WindowsPath(_string).hasRoot() : UnixPath(_string).hasRoot();
Returns true if the Path has a root.
bool hasRoot() => isWindows ? WindowsPath(_string).hasRoot() : UnixPath(_string).hasRoot();