startsWith method

bool startsWith(
  1. Path other
)

Determines whether other is a prefix of this.

Implementation

bool startsWith(Path other) => path.startsWith(other.path);