isAbsolute method
Returns true if the Path is absolute, i.e., if it is independent of the current directory.
Implementation
bool isAbsolute() => Env.isWindows
? WindowsPath(_string).isAbsolute()
: UnixPath(_string).isAbsolute();
Returns true if the Path is absolute, i.e., if it is independent of the current directory.
bool isAbsolute() => Env.isWindows
? WindowsPath(_string).isAbsolute()
: UnixPath(_string).isAbsolute();