 path is empty the empty list will
be returned. A leading slash <code>/</code> does not affect the segments returned.</p>
<p>The returned list is unmodifiable and will throw <a href="dart-core/UnsupportedError-class.html">UnsupportedError</a> on any
calls that would mutate it.</p>
        </section>
                <section class="summary source-code" id="source">
          <h2><span>Implementation</span></h2>
          <pre class="language-dart"><code class="language-dart">List&lt;String&gt; get pathSegmen