on"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">path2</span></span>)
      
    </section>
    <section class="desc markdown">
      <p>Checks whether two paths refer to the same object in the
file system.</p>
<p>Returns a <code>Future&lt;bool&gt;</code> that completes with the result.</p>
<p>Comparing a link to its target returns false, as does comparing two links
that point to the same target.  To check the target of a link, use
Link.target explicitly to fetch it. 