startsWith method

bool startsWith(
  1. Path other
)

Determines whether other is a prefix of this.

Implementation

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