title: How can I iterate through two lists in parallel in Dart?
body: <p>I have two lists that I have confirmed are the same length. I want to operate on them at the same time. My code currently looks something like this:</p>
  
  <pre><code>var a = [1, 2, 3];
  var b = [4, 5, 6];
  var c = [];
  for(int i = 0; i &lt; a.length; i++) {
    c.add(new Foo(a, b));
  }
  </code></pre>
  
  <p>It seems a bit clunky to count up to the length of list A in this fashion. Is there a nicer and more Dart-y way of accomplishing this task?</p>