toPath method

String toPath()

Implementation

String toPath() {
  return (isAbsolute ? '/' : '') + _segments.join('/');
}