ly.
If any operation exposes a non-<code>RK</code> key or non-<code>RV</code> value,
the operation will throw instead.</p>
<p>Entries added to the map must be valid for both a <code>Map&lt;K, V&gt;</code> and a
<code>Map&lt;RK, RV&gt;</code>.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">Map&lt;RK, RV&gt; cast&lt;RK, RV&gt;() =&gt; _map.cast&lt;RK, RV&gt;();</code></pre>
  