range of <code>lines</code>
(<code>0 &lt;= start &lt;= end &lt;= lines.length</code>).</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span> </h2>
      <pre class="language-dart"><code class="language-dart">static Iterable&lt;String&gt; split(String lines, [int start = 0, int end]) sync* {
  end = RangeError.checkValidRange(start, end, lines.length);
  int sliceStart = start;
  int char = 0;
  for (int i = start; i &lt; end; i++) {
    int previ