startsWith method
Determines whether other is a prefix of this.
Implementation
bool startsWith(Path other) => Env.isWindows
? WindowsPath(_string).startsWith(WindowsPath(other._string))
: UnixPath(_string).startsWith(UnixPath(other._string));