title: Dart name collision resolution
body: <p>I have a file in Dart that looks like this:</p>
  <pre class="lang-dart prettyprint-override"><code>library myLibrary;
  
  bool myFunction(String s) =&gt; s == null;
  
  extension StringExtensions on String {
    bool get myFunction=&gt; myFunction(this);
  }
  </code></pre>
  <p>Where I basically want to add extensions to previous existing functions, with the same name.</p>
  <p>The Dart compiler complains about this, as it can't see the outer <code>myFunction()</code> name, just the getter, inside <code>StringExtensions</code>.</p>
  <p>Is it there a way for me to reference the external <code>myFunction</code> from inside <code>StringExtensions</code>? Or can I just achieve this by separatting them in two different files/libraries using aliases?</p>