endsWith method

bool endsWith(
  1. Path other
)

Determines whether other is a suffix of this.

Implementation

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