endsWith method

bool endsWith(
  1. Path other
)

Determines whether other is a suffix of this.

Implementation

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