l">InternetAddressType.IPv4</a> or
<a href="dart-io/InternetAddressType/IPv6-constant.html">InternetAddressType.IPv6</a> it will only lookup addresses of the
specified type. The order of the list can, and most likely will,
change over time.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">external static Future&lt;List&lt;InternetAddress&gt;&gt; lookup(String host,
    {Intern