h <code>end == start</code>) is valid.</p>
<p>Example:</p>
<pre class="language-dart"><code class="language-dart"> List&lt;int&gt; list = new List(3);
    list.fillRange(0, 2, 1);
    print(list); //  [1, 1, null]
</code></pre>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">void fillRange(int start, int end, [E fillValue]) {
  throw new UnsupportedError(&quot;Cannot modify an im